• Like it is explain here : http://codex.wordpress.org/Author_Templates
    I have creat an author.php template in my WP theme.

    My author.php code :

    <?php
    /*
    Template Name: Auteurs
    */
    ?>
    <?php get_header(); ?>

    <?php
    if(get_query_var(‘author_name’)) :
    $curauth = get_userdatabylogin(get_query_var(‘author_name’));
    else :
    $curauth = get_userdata(get_query_var(‘author’));
    endif;
    ?>
    <h2>About: <?php echo $curauth->user_nickname; ?></h2>
    <dl>
    <dt>Website</dt>
    <dd>user_url; ?>”><?php echo $curauth->user_url; ?></dd>
    <dt>Profile</dt>
    <dd><?php echo $curauth->user_description; ?></dd>
    </dl>
    <?php get_footer(); ?>

    I have made a link at the end of posts : when you click on the post author name, you go on his particular page.
    I use for that :

    <?php the_author_posts_link(); ?>

    And… it doesn’t work. Nothing appear.

    Oh ! I have made a page called “membres” with the template author.php associate, but it seems to be useless.

    I have try the Get author plugin http://guff.szub.net/2005/01/31/get-author-profile/ and it doesn’t work for me. (I use several plugin whithout problem).

    I just want the profile information of the current author on a page… and it already takes several hours of my short human life… Why ? Why so many complexity on earth… I’m very tired… I’m waiting a charity mouvement around my case (with songs and flowers if possible) :-). Please.

Viewing 12 replies - 1 through 12 (of 12 total)
Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘The current author profile on a clean page ? Very hard in fact.’ is closed to new replies.