Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
  • #833521


    I would like to use this plug-in to add an author box to my blog posts:

    When I use it on the default setting, it adds the box to both my posts and my portfolio items, but I just want it on my posts. The plug-in support says that “If you want to manually insert the Simple Author Box in your template file (single post view), you can use the following code snippet:”

    <?php if ( function_exists( 'wpsabox_author_box' ) ) echo wpsabox_author_box(); ?>

    The problem is that I have no idea where to put to this snippet to make show up on single-entry blog posts only. Do you have any ideas? I am running an Enfold child theme with my own functions.php file.

    Sample Porfolio Entry:
    Sample Blog Post:




    The easiest way would be adding following code to Quick CSS in Enfold theme options under General Styling tab

    .single-portfolio .saboxplugin-wrap {
        display: none!important;

    If you would like to edit the file, please go to includes/loop-index.php file and find following line

    echo '<footer class="entry-footer">';

    And add your code right above that line as following

    if ( function_exists( 'wpsabox_author_box' ) && is_single() ) echo wpsabox_author_box();

    Best regards,


    Thanks, Yigit!

    Adding it to quick CSS didn’t work, but adding the code to the loop-index.php file worked perfectly!



    I’m glad Yigit was able to help. If you need anything else, please let us know here in the forums.

    Best regards,
    Jordan Shannon


    This topic can be closed. Thanks!



    No problem. Let us know if you need additional help.

    Best regards,
    Jordan Shannon

Viewing 6 posts - 1 through 6 (of 6 total)

The topic ‘Author Box’ is closed to new replies.