[wp-trac] [WordPress Trac] #32618: Additional args for get_the_post_navigation()
WordPress Trac
noreply at wordpress.org
Thu Jun 11 20:52:56 UTC 2015
#32618: Additional args for get_the_post_navigation()
--------------------------+-----------------------------
Reporter: ChaseWiseman | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Themes | Version: trunk
Severity: normal | Keywords:
Focuses: template |
--------------------------+-----------------------------
It would be awesome if `get_the_post_navigation()` accepted and passed
along all of the parameters available to the `get_next_post_link()` and
`get_previous_post_link()` functions that are used within. This would
allow developers to still use the function in cases where limiting
navigation by taxonomy/term is desired. Namely `$in_same_term`,
`$excluded_terms`, and `$taxonomy`.
This was first mentioned in https://github.com/Automattic/_s/issues/759
--
Ticket URL: <https://core.trac.wordpress.org/ticket/32618>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list