#9571 closed enhancement (fixed)
Filter to exclude categories from adjacent post links
Reported by: | rmccue | Owned by: | wonderboymusic |
---|---|---|---|
Milestone: | 4.4 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Posts, Post Types | Keywords: | has-patch |
Focuses: | template | Cc: |
Description
I'm currently attempting to exclude a certain category from everywhere possible. While there are filters to exclude it from everywhere else (as far as I can see, anyway), there is not a filter to exclude it from next/previous post links.
The following patch adds a hook called 'get_{$adjacent}_post_excluded' to filter the excluded categories string.
Attachments (4)
Change History (13)
#1
@
16 years ago
- Component changed from General to Template
- Keywords has-patch added
- Milestone changed from Unassigned to 2.8
#3
@
16 years ago
- Keywords needs-patch added; has-patch tested commit removed
- Milestone changed from 2.8 to Future Release
patch is b0rke
#4
@
12 years ago
- Cc japh@… added
- Keywords has-patch needs-testing added; needs-patch removed
Added a refreshed patch for this.
#7
@
9 years ago
9571.4.diff is a refresh of the previous patch and updates the docs.
Note: See
TracTickets for help on using
tickets.
commit, wontfix?