Disable the Author Bio Box

  • Author
    Posts
  • #95765
    andy76
    Power User

    Hi,

    I want to use a plugin to display an author bio box below all my blog posts. But when I enter any text in my WordPress user “Biographical Info”, I get two author bio boxes (from the plugin + some native WordPress one). How do I disable the WordPress author bio box?

    Thanks!

    #96369
    Zed
    Cryout Creations mastermind

    WordPress doesn’t include a way to disable the author biography and all default Templates (which our themes are inspired from) display the bio when it is set.

    If you need to disable the theme’s bio inclusion you’d need to customize the content/author-bio.php file (preferably through a child theme).


    If you like our creations, help us share by rating them on WordPress.org.
    Please check the available documentation and search the forums before starting a topic.
    #96917
    andy76
    Power User

    Thanks. But I can’t find any author-bio.php in the content folder. Could you please point me to the correct file to edit?

    #97612
    andy76
    Power User

    Hi just checking in to see if there are any updates on this topic 🙂

    #97847
    Zed
    Cryout Creations mastermind

    Sorry, the indicated file does not apply to Parabola. In Parabola the author information is handled directly by the file responsible for the author archive: author.php (in the root of the theme), which you can copy over and customize in your child theme.


    If you like our creations, help us share by rating them on WordPress.org.
    Please check the available documentation and search the forums before starting a topic.
    #97877
    andy76
    Power User

    Thanks for the reply.
    I moved the author.php file to my child theme, and removed the below code.
    Unfortunately, the author bio box is still displayed after each post. To be sure I flushed the cache and tried another browser, but still the same result. 🙁
    What can be the issue? Thanks

    // If a user has filled out their description, show a bio on their entries.
    if ( get_the_author_meta( ‘description’ ) ) : ?>
    <div id=”author-info”>
    <div id=”author-avatar”>
    <?php echo get_avatar( get_the_author_meta( ‘user_email’ ), apply_filters( ‘parabola_author_bio_avatar_size’, 60 ) ); ?>
    </div><!– #author-avatar –>
    <div id=”author-description”>
    <?php the_archive_description( ‘<div class=”taxonomy-description”>’, ‘</div>’ ); ?>
    </div><!– #author-description –>
    </div><!– #entry-author-info –>
    <?php endif; ?>

    #98773
    andy76
    Power User

    Hi again. Can someone please help me with this issue? Thanks!

    #99133
    Zed
    Cryout Creations mastermind

    The author biography can also be displayed directly by the single.php template.


    If you like our creations, help us share by rating them on WordPress.org.
    Please check the available documentation and search the forums before starting a topic.
    #99476
    andy76
    Power User

    That worked great thanks!

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

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