Opened 11 years ago
Closed 10 years ago
#32618 closed enhancement (fixed)
Additional args for get_the_post_navigation()
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | 4.4 | Priority: | normal |
| Severity: | normal | Version: | 4.3 |
| Component: | Themes | Keywords: | has-patch |
| Focuses: | template | Cc: |
Description
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
Attachments (2)
Change History (7)
Note: See
TracTickets for help on using
tickets.
Let's tackle the completion of that API in 4.4.