Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author vicchi

    (@vicchi)

    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

    Thread Starter digitaldivaducky

    (@digitaldivaducky)

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

    Plugin Author vicchi

    (@vicchi)

    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

    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?

    Plugin Author vicchi

    (@vicchi)

    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

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Installed Biographia but have 2 author boxes’ is closed to new replies.