WordPress.org

Support

Support » Plugins and Hacks » Exclude post from Recent Posts if *any* of its categories is in list

Exclude post from Recent Posts if *any* of its categories is in list

  • I have found plugins to hide posts from Recent Posts widget if they are in a chosen category. But some posts are in multiple categories. I want to hide any post that is in a certain category, even if it is in another non-hidden category as well. So if I have something like this:

    Posts in Category 1: 2,4,6,8
    Posts in Category 2: 2,4
    Posts in Category 3: 2

    So post #2 is in all 3 categories. With plugins I have found, if I say to hide posts in category 3, I’ll still see post #2 because it’s also in other categories. I want to hide post #2.

    Anybody know of a plugin or hack to accomplish this?

    Thanks! Bob

  • The topic ‘Exclude post from Recent Posts if *any* of its categories is in list’ is closed to new replies.
Skip to toolbar