Black Friday sale! Get 25% off WPSP Pro! Discount automatically applied at checkout.

[Support request] sub categories

Please login to receive premium support.

Support for the free plugin can be found here.

Home Forums Pro Support sub categories

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #11086
    paul
    Participant

    Hello,

    I have a main category with several sub categories. I only want to show posts from the main category but at the moment when I select this it also seems to show posts from all the related sub categories, is this correct behaviour or am I doing something wrong?

    #11096
    Tom
    Keymaster

    Hi Paul,

    Are those posts only assigned to the sub-categories, or are they also assigned to the parent categories?

    I’ll take a look.

    #11099
    paul
    Participant

    It displays posts from all sub categories when only main category is selected. Note I am using verson 1.0-beta2

    • This reply was modified 1 year, 2 months ago by paul.
    #11182
    Tom
    Keymaster

    Hey Paul,

    I just dug into this a bit, and it looks like WordPress does this by default, as the post is technically a part of that category.

    category__not_in might be worth looking at, but you’d need to use PHP to display the list.

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.