Support » Plugin: Fancier Author Box by ThematoSoup » Adding content before the authorBox

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Dragan Nikolic


    It depends on that social buttons plugin and if it also uses the_content filter.

    I believe someone has already posted a solution to this and it’s somewhere in the forum, but you need to find it.

    Basically, you need to change the ts-fab.php (Plugins > Edit > Fancier Author Box). Locate this line:

    add_filter( 'the_content', 'ts_fab_add_author_box', 15 );

    and change that number 15 to a bigger number. Try several numbers until you achieve what you need.

    I don’t suggest you do this if you’re not familiar with PHP. Also, you’ll need to do this every time you update the plugin.

    Thank you for answering my question swiftly.

    Im not using a plugin for the social buttons. I would like to display this content before the authorBox.

    <div class="kizi02">
      <?php get_template_part('this');?>

    I managed to find my own answer.

    comment out add_filter line then add the second line to the ts-fab.php file.

    // add_filter( 'the_content', 'ts_fab_add_author_box', 15 );
    add_shortcode( 'ts_fab', 'ts_fab_add_author_box' );

    then in your theme php editor
    <?php echo do_shortcode( '[ts_fab]' ); ?>

    thank you for this authorbox!

    Plugin Author Dragan Nikolic



    Thanks for stopping by.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Adding content before the authorBox’ is closed to new replies.