We're merging with GenerateBlocks! Learn more here.

[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

  • This topic has 3 replies, 2 voices, and was last updated 4 years ago by Tom.
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

    #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.