Preventing Sub-Category Slugs/Posts name from being displayed?
I have my Posts category structure setup to match my Page Folder structure.
For example, I have;
Page Structure Layout of: Computers – Dell – Latitude
I want to be able to have my post categories in the same structure layout with post category “Dell” under “Computers”, likewise, “Latitude” under “Dell” under “Computers”.
The trouble is that any post I place in the slug/category “Latitude” also appear in the “computers” and “Dell” lists.
How do I tell it to only display the category I choose and NOT the sub categories?
[tpg_get_posts category_name=”latitude”] show Latitude posts (this is ok)
[tpg_get_posts category_name=”dell”] shows dell & Latitude posts!!
[tpg_get_posts category_name=”computers”] shows computers, dell and latitude posts!!
- The topic ‘[Plugin: TPG Get Posts] Preventing Sub-Category Posts from being displayed?’ is closed to new replies.