Selectively Hide Author Information
-
I have a need to hide the author information on some posts. The easiest way I see that is a box that if checked would display and/or hide the author bio. Another way would be to create a category and modify the plugin to display or hide based on the category selection (if HideAuthor category was selected for instance).
However, I’m not entirely sure how to affect this change. I’ve tried changing this
if(!$isHome && (is_single() || is_page()) && $authordata->ID){
but anywhere I add the is_category(’40’) option either causes the plugin to not display on any post, or it continues to display on every post. I think I am missing something simple in the syntax, I just don’t know what. ??
- The topic ‘Selectively Hide Author Information’ is closed to new replies.