Add filter for posts_nav_link
|Reported by:||coppit||Owned by:|
My Category Access plugin hides posts in restricted categories. posts_nav_link puts a next page link on a page for which all the posts have been hidden. Tracing it a bit, it looks like is_single might be a good place to tweak things, but I don't see a hook to do so.
Perhaps the function should provide a category exclusion in line with my other request: http://trac.wordpress.org/ticket/2327
See my original post on wp-hackers here: http://comox.textdrive.com/pipermail/wp-hackers/2006-January/004096.html
Change History (6)
- Summary changed from Add filter for wp_get_archives to Add filter for posts_nav_link