Support » Plugin: Simple Author Box » Template code in index.php

  • Resolved Vladi

    (@pbvlad)


    Hi, first of all thank you for a great plugin. I have the pro version, but can’t seem to get the manual php code to work in the index.php template. For the sake of simplicity, I don’t have a separate author.php template, but rather use this piece of code in the index template to show the author box when the author page is viewed:

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

    Oddly, the manual insert doesn’t trigger the author box. You mentioned in another support request that it should work in the author.php template. Do I require an author template after all? Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Template code in index.php’ is closed to new replies.