[wp-trac] [WordPress Trac] #2415: New hooks for previous and next
post
WordPress Trac
wp-trac at lists.automattic.com
Thu Feb 9 10:52:08 GMT 2006
#2415: New hooks for previous and next post
----------------------------+-----------------------------------------------
Id: 2415 | Status: new
Component: Administration | Modified: Thu Feb 9 10:52:08 2006
Severity: enhancement | Milestone: 2.1
Priority: normal | Version: 2.0.1
Owner: majelbstoat | Reporter: majelbstoat
----------------------------+-----------------------------------------------
Getting the previous and next posts can be filtered by excluding
categories, but it would be better to be able to filter more flexibly,
like you can for get_posts(). The attached patch adds two new hooks
prev_next_post_join and prev_next_post_where which are identical in
purpose to the posts_where and posts_join filters.
The specific case I want to solve in filtering based on a custom query
variable.
--
Ticket URL: <http://trac.wordpress.org/ticket/2415>
WordPress Trac <http://wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list