Quantcast
Channel: WordPress › Support » Forum: Hacks - Recent Topics
Viewing all articles
Browse latest Browse all 8245

hopetommola on "Hide part of meta if in specific category"

$
0
0

I am making an archive of minutes and agendas. Agendas only live in the system until the meeting is held, so I am using the Published Date as the "Meeting Date" in order to organize the post archives properly.

As such, I've modified the theme's entry-meta to show:
Filed under: %1$s <br />Meeting date: <a href="%3$s">%7$s</a>

But, I need to hide the Meeting date: <a href="%3$s">%7$s</a> portion of the post meta if the category is Agendas - in both the content.php and content-single.php files of my twentyeleven child theme.

Any assistance greatly appreciated.


Viewing all articles
Browse latest Browse all 8245

Trending Articles