WP Biographia
[resolved] Installed Biographia but have 2 author boxes (6 posts)

  1. digitaldivaducky
    Posted 3 years ago #

    I know this is probably super simple and I am just not thinking it through, but any help would be appreciated.

    I installed WP Biographia but now I have 2 author boxes. WP Biographia and one that says Author-Meta on the inspect elements. I have removed all other possible plugins that I think it could be and now I am stumped.

    I am using the Responsive Theme (free) By ThemeIDVersion

    Website is http://www.e-bookbuilders.com.


  2. vicchi
    Plugin Author

    Posted 3 years ago #

    The theme probably has a form of biography box hard coded into one or more of the templates. Where does the dual biography box appear? On author archives, on posts, on pages or some other combination? If you can post back with a download link to the theme I'll take a look.


  3. digitaldivaducky
    Posted 3 years ago #

    You can download here: http://wordpress.org/extend/themes/responsive
    And thank you so much!

  4. vicchi
    Plugin Author

    Posted 3 years ago #

    As I suspected, the Responsive theme hard codes a biography box into single.php, the single post template.

    This is quite a common occurrence, so much so that it's an entry in WP Biographia's FAQ, which is always worth reading when something odd happens ... see http://wordpress.org/extend/plugins/wp-biographia/faq/ and/or http://www.vicchi.org/codeage/wp-biographia/3-frequently-asked-questions/#faq6, which says ...

    I've installed and configured WP Biographia and now I see not one but two differing Biography Boxes; what's going on?
    There's probably one of two things going on here. Firstly, you've already got another plugin that makes a Biography Box installed and active and this plugin, as well as WP Biographia, are doing their job properly. Secondly, the theme you're using hard codes a Biography Box into the theme templates. Both the TwentyTen and TwentyEleven themes supplied as part of a standard WordPress install do this.

    To get around this, you'll either need to comment out or delete lines 51 through 59 in /wp-content/themes/responsive/single.php (based on version of the theme). It would be nice if theme designers made this configurable, but sadly a lot don't.


  5. arasbm@gmail.com
    Posted 3 years ago #

    hey thanks for the cool plugin. I ran into this funny issue as well and as you suggested I commented out these lines in single.php:

    <!-- // commenting out to avoid conflict with Biographia plugin
                        <?php if ( get_the_author_meta('description') != '' ) : ?>
                        <div id="author-meta">
                        <?php if (function_exists('get_avatar')) { echo get_avatar( get_the_author_meta('email'), '80' ); }?>
                            <div class="about-author"><?php _e('About','responsive'); ?> <?php the_author_posts_link(); ?></div>
                            <p><?php the_author_meta('description') ?></p>
                        </div><!-- end of #author-meta -->
                        <?php endif; // no description, no author's meta ?>

    That fix the problem in single post pages, but now the same thing is happening when I go to the *about the author* page. There is two identical copy of the about box in there. Any hint at where to go next?

  6. vicchi
    Plugin Author

    Posted 3 years ago #

    You'll need to do the same for your theme's author archive template file. This will probably be author.php in your theme's directory, but not all themes include this template, though all the stock WordPress themes (Twenty Ten, Twenty Eleven, etc) do.

    The WordPress Template Hierarchy might be of use to track down which template your theme is using to display author archives.


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WP Biographia
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic