WordPress.org

Ready to get started?Download WordPress

Forums

Previous and Next Post in Same Taxonomy
Exclude doesn't seem to work. (2 posts)

  1. Doodlebee
    Member
    Posted 2 years ago #

    Like the plugin - it's working just fine, save one thing: it's ignoring exclusions. It's going to my custom taxonomy/terms just fine, but I want it to exclude 2 categories (passed by variable, because in one instance, only one of them is excluded), but it's ignoring the excluded term ID. Even when I hard-code it in (instead of passing via variable) - the category that's NOT supposed to be in there is still in there.

    http://wordpress.org/extend/plugins/previous-and-next-post-in-same-taxonomy/

  2. luke_m_m
    Member
    Posted 2 years ago #

    I'd like to bump this I'm having exactly the same issue.
    Great plugin, but not working for me as I was expecting.

    I have custom posts with multiple taxonomy categories and I want to dynamically exclude categories when doing be_previous_post_link() and be_next_post_link()

    For Example, here is a function call:
    be_previous_post_link('<span class="previous">%link</span>', '< Previous', true, 'featured', 'portfoliocat');

    I want to exclude posts with the 'featured' category with the 'portfoliocat' taxonomy.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic