I have six categories under a Parent Category. On one of the categories, items don’t show up under this category unless I also put them in the Parent Category. I also notice on the back end on the right hand side where you select category this particular sub-category does not show up under the parent category….even though on the category page it has been assigned a parent category.
Thank for your help.
Hello,
Please provide a few screenshots of what you mean. if you assign a category as a sub-category to a parent, it will be a sub-category: http://www.wpbeginner.com/beginners-guide/how-to-add-categories-and-subcategories-to-wordpress/
http://screencast.com/t/S3I1zWl3
Thank you!
Hi Bogdan:
When we Publish a “Post” or “Page” in a subcategory only (“child” of parent category), the Post or Page is also showing up in the Category as well – even if the Category is unchecked.
This is problematic as we don’t want subcategory (or child) content automatically showing up at the Category (parent) level.
See e.g. below & screenshots:
PAGE e.g. (Cafe des Architectes – Sofitel Chicago)
https://luxechicago.com/cafe-des-architectes-sofitel-chicago/
https://luxechicago.com/category/culture/ (culture category link)
“Restaurants” subcategory is selected for the above “Page”…..but the “Café des Architectes – Sofitel Chicago” page also shows up in parent category, Culture. Restaurants subcategory shows up as a category on the tree below – even though it’s been entered as a child of parent “Culture” [Culture & Entertainment].
POST e.g. (Chicago Model City)
https://luxechicago.com/chicago-model-city/
https://luxechicago.com/category/culture/ (culture category link)
“Architecture” subcategory is selected for the above “Post”…..but the “Chicago Model City” page also shows up in parent category, Culture. Architecture subcategory shows up as a category on the tree below – even though it’s been entered as a child of parent “Culture” [Culture & Entertainment].
This is problematic as we don’t want subcategory (or child) content automatically showing up at the Category (parent) level.
Hello,
Unfortunately this is the default implementation of WordPress. The child category and posts are all part of the primary category and all of the posts of a child category will show up in the main category. If you want to avoid this behavior, use separate categories, not child categories. Our theme does not change the default wordpress layout so you will have to change the way wordpress uses categories if you want to not show the post s of a child category in the main category page.
As an alternative, you can use a static page instead of the main category page using a 301 redirect and show the content that you want on that particular page.
Thank you!