• Resolved pierom

    (@pierom)


    I think I’ve followed the directions on the author template page pretty well, but no matter what version of the “$curath” variable code I use, I can’t get the author’s name displayed.

    https://www.maniacfan.com/author/flounder/

    The author text is just above where the posts are displayed, but is missing both the Author name and description.

    I am using wp 2.0, and the code I have in the page is as follows:

    <?php
    if(isset($_GET[‘author_name’])) :
    $curauth = get_userdatabylogin($_GET[‘author_name’]);
    else :
    $curauth = get_userdata($_GET[‘author’]);
    endif;
    ?>

    <center><span class=”red”><b>Want to know more about <?php the_author() ?>?</span> Well, here it is, right out of his own pie-hole:</b></center>
    <br>
    <dd><?php echo $curauth->user_description; ?></dd>

    Thanks for your help.

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Author Template – “$curauth” Issues’ is closed to new replies.