• Resolved jelie

    (@jelie)


    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. ??

    https://www.ads-software.com/extend/plugins/author-profile/

Viewing 2 replies - 1 through 2 (of 2 total)
  • I used the Show/Hide Author plugin which let me always hide the author, then I also used the Plugin Organiser plugin to disable Show/Hide Author plugin on specific posts and pages. Bit of a roundabout way to do it but it worked!

    Plugin Author Debashish

    (@debashish)

    The plugin currently doesn’t support this, I might consider adding the feature in future.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Selectively Hide Author Information’ is closed to new replies.