WordPress Category Post Info plugin
For controlling the post information for different categories.
CatPIC (Category Post Info Control) will work “out of the box” with the Genesis Framework. However, if you’re using any other theme, you need to add some code to the theme.
I thought all themes had the same files, but turns out they don’t. So there’ll be a different fix for each one. As me and my wife only use Genesis child themes, it’s not worth my while to investigate how to update every possible theme out there, but I am willing to help where I can.
Search the comments of this post for your theme name. If it’s not listed, ask me and I’ll check it out for you.
For the TwentyEleven theme, add two lines of code to your content-single.php page.
* – Open the content-single.php page for your theme.
* – Find the line or lines where the byline is displayed (see sample below)
* – Put the following line above the byline
<?php if (true == cat_p_i_c_show_post_info(get_the_ID())) >
* – and put the following code below the byline
<?php endif; ?>
As an example, here is what the code should look like in the Twenty Eleven theme. The green code was the existing code to display the byline and the yellow lines are what I’ve added to make CatPIC work with this theme.