Disable the Author Bio Box

  • Author
    Posts
  • #95765

    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 Team

    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 read the available documentation and search the forums before posting.
    #96917

    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

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

    #97847
    Zed
    Cryout Creations Team

    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 read the available documentation and search the forums before posting.
    #97877

    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

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

    #99133
    Zed
    Cryout Creations Team

    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 read the available documentation and search the forums before posting.
    #99476

    That worked great thanks!

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

You need to log in to reply to this topic.