WordPress.org

Ready to get started?Download WordPress

Forums

Fancier Author Box by ThematoSoup
[resolved] want to selectively show author box (7 posts)

  1. PioneerChef
    Member
    Posted 5 months ago #

    Hi,

    I don't want to activate the Author Box on all posts. Is it possible to do that for selected posts.

    Some recipes (post) are submitted by Chefs directly. We would like to use the author box in those posts. example: http://www.pioneerchef.com/2014/01/27/butter-chicken-that-melts-in-your-mouth/

    Other posts and recipes posted by us don't need to have author bio box.

    How can we do that?

    Best,

    Alex

    https://wordpress.org/plugins/fancier-author-box/

  2. Slobodan Manic
    Member
    Plugin Author

    Posted 5 months ago #

    Hi Alex,

    You can use ts_fab_hide custom field, with any value in it, to hide the author box in certain posts/pages.

  3. PioneerChef
    Member
    Posted 5 months ago #

    Thanks for the prompt revert Slobodan.

    But I'd prefer the other way round. I have most of the content that doesn't require author box. That's our in-house content.

    How to selectively show and not hide. Plus I a complete illiterate as far as coding is concerned. Where can put that code in the post and what value..? You'll have to tell me that even. Sorry for the botheration.

    :)

  4. Slobodan Manic
    Member
    Plugin Author

    Posted 5 months ago #

    You're welcome.

    Sorry, but the other way around is not possible at the moment.

    Here's an explanation on how to add custom fields

    http://codex.wordpress.org/Custom_Fields

  5. PioneerChef
    Member
    Posted 5 months ago #

    Is that option available with the premium paid version..? And is that payment ($10) a one time fee only..?

    Thanks anyways for the support.

  6. Slobodan Manic
    Member
    Plugin Author

    Posted 5 months ago #

    The option is not there in premium version either. I just started version 2 development, for free and premium and will most likely add this option to both.

    However, even now with premium version you can use [ts_fab] shortcode to add the author box.

    P.S. Yes, it is a one time fee.

  7. Kristof
    Member
    Posted 4 months ago #

    Found a work around.

    Add this to functions file

    add_filter( 'body_class', 'my_neat_body_class');
    function my_neat_body_class( $classes ) {
    	if ( is_page(162) || in_category(array(57,349,266)) || is_tag('neat') )
    		$classes[] = 'hide-author-box';
    	return $classes;
    }

    Then add this to CSS

    body.hide-author-box .ts-fab-wrapper {
    	display: none;
    	}

Reply

You must log in to post.

About this Plugin

About this Topic