When viewing a “Parent Category” i’d like to list the title of the “Sub-Categories” that only contain posts, i’ve been through documentation and can’t find anythign on this, hope someone can help.
I’f i’m viewing the category “Portfolio”. mysite.com/portfolio/
It would Display categories like “Photography”, “Design” etc etc. Seems simple in theory.
But only show these sub-categories if they have posts within them.
Hope that makes sense.
Note: I don’t want to have to hardcore the category name e.g . (IF category =”Portoflio”) – it must be dynamic.
Also I don’t need it to be linked, just to pull the ptitles in plain text.
- The topic ‘Display Sub Categories of Current Parent Category if there are posts’ is closed to new replies.