WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. digitaldivaducky
    Member
    Posted 1 year 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 1.8.9.3

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

    http://wordpress.org/extend/plugins/wp-biographia/

  2. vicchi
    Member
    Plugin Author

    Posted 1 year 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.

    -Gary

  3. digitaldivaducky
    Member
    Posted 1 year ago #

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

  4. vicchi
    Member
    Plugin Author

    Posted 1 year 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 1.8.9.3 of the theme). It would be nice if theme designers made this configurable, but sadly a lot don't.

    -Gary

  5. arasbm@gmail.com
    Member
    Posted 1 year 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
    Member
    Plugin Author

    Posted 1 year 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.

    -Gary

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags