Site logo

Archived topic

Don't want the sub-catergoies to show in the category

8 replies · Started by Janet Davis on September 15, 2016

Viewing posts 1–9 of 9

Hello Tom,
My posts show in the categories and sub categories.
How do I get the sub category posts to show only in the sub category not both?
Thank you .
Jan

Hi there,

I'm not too sure what you mean? Where are the categories displayed? In your widgets?

I'm using my categories in my menu bar.

So if the hierarchy is
Food
sub cat - Fruit
sub cat Banana

If I put a post in banana, it also shows up in sub cat fruit and main cat Food, when I just want the post to be in banana.

Does this make sense?

HI Tom,
I have the menu set up as the secondary menu.
The issue is the content of the posts where they are showing.

Here is the top level of this category
https://everydayhomesteading.com/test/food-and-products/
In the second column second row is the post - Mint Plant- Grow it – Eat it – Use it

In the sub category
https://everydayhomesteading.com/test/food-and-products/gardening/
The same post - Mint Plant- Grow it – Eat it – Use it is also there.

How do I get the post only to be in the sub category not in the both categories?

Jan

Hi Jan,

The only reason that would happen is if the post was added to both categories. Have you checked that yet?

Tom,
I've doubled check, and I only have one category - the sub category checked on all them, yet it is site wide.
Any ideas?

Following

Hmm.. So it's set to a sub-category of the other category it's displaying on?

Not sure how WordPress handles it, but maybe it will show on the parent category page if it's set to the sub-category?

Worth playing with.

This archived topic is closed to new replies.