Hide Title on Single Category
-
When you use a shortcode to display only one category, in many cases it is in the context of a page that already has a title. For example, the page might be describing Red Widgets and at the bottom I want a section to say ‘Frequently Asked Questions’ (for the red widgets). So all I want the title to be is ‘Frequently Asked Questions’
It doesn’t make sense to call the category ‘Frequently Asked Questions’ or ‘Red Widgets Frequently Asked Questions’ as that will not look right on the master FAQ page that lists all the categories as ‘Frequently Asked Questions’ will get repeated and look redundant.
What I need to a code hack that if only one category is specified to display in the shortcode, then don’t display the category title.
The topic ‘Hide Title on Single Category’ is closed to new replies.