WordPress.org

Ready to get started?Download WordPress

Forums

Include Author Description Field (6 posts)

  1. mcfadden
    Member
    Posted 6 years ago #

    Hello, I am attempting to display the contents of the author description field inside the loop. I have tried:
    <?php
    if(get_query_var('author_name')) :
    $curauth =
    get_userdatabylogin(get_query_var('author_name'));
    else :
    $curauth = get_userdata(get_query_var('author'));
    endif;

    echo "$curauth->description";
    ?>

    As well as:
    <?php the_author_description(); ?>

    I had it working a while back and now for some reason, it is not. Your help in this matter will be greatly appreciated. Thank you in advance.

  2. mcfadden
    Member
    Posted 6 years ago #

    I am bumping this, just once, because it is urgent.

    Thanks again.

  3. mcfadden
    Member
    Posted 6 years ago #

    hmm?

  4. mcfadden
    Member
    Posted 6 years ago #

    hhhmmmmmmmmm??

  5. mcfadden
    Member
    Posted 6 years ago #

    bump

  6. mcfadden
    Member
    Posted 6 years ago #

    anybody?

Topic Closed

This topic has been closed to new replies.

About this Topic