Support » Plugin: WP Author Bio » How to hide on certain posts?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Andy Forsberg

    (@penguininitiatives)

    Are the posts you don’t want it shown on the same type of posts as the others you do want it on? If not, you should just make another post template for that the post type you don’t want it displayed on.

    If that’s not the case, you can either hide it using CSS on the posts you don’t want it on or use the shortcode to add it only to the posts you want it displayed on.

    I’ll have to make a feature where you can toggle the display of it via a checkbox on each individual post.

    CSS is the best option out of all those.

    With regards to making a checkbox on each post, that’s initially what I looked for but didn’t find it. It would be a great addition! When do you think this could be added?

    As for the CSS, do you know what the code is?

    Plugin Author Andy Forsberg

    (@penguininitiatives)

    I took at stab at this feature, I’m about 70% done with it. Too tired to finish it tonight though.

    In the meantime you can use the following CSS (with the specific post ID) to hide the Sexy Author Bio box on a given post or page:

    body.postid-11 #sexy-author-bio { display: none !important; }

    The above would work if for example your body tag looked like the following when you right-click and select “View page source” in Chrome:

    <body class="single single-post postid-11 single-format-standard twenty-fifteen">

    Thanks Andy. I’m sure I can hang on a while longer until you’ve managed to add this feature. It’ll be a nice addition to the plugin as it’ll also save having to add loads of individual CSS lines.

    Available?

    Plugin Author Andy Forsberg

    (@penguininitiatives)

    Not yet, sorry. I’m in the middle of several major updates and want to ensure the update is a smooth transition, so it might be a while unfortunately.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘How to hide on certain posts?’ is closed to new replies.