• Hi,
    I’ve created a category-XX.php and placed it but my the_author tag does not seem to show. However on other pages it shows.

    check this out: http://beta.boontan.net/category/reviews/
    I’d like it to look like “http://beta.boontan.net/anime-review/”

    browse the other categories like Anime updates(under Navbar)and you can see the_author tag there.

    This is my code:

    <?php get_header();
    ?>
    
    <div id="content">
    
    		<div class="archive">
    			<p /><h2>Reviews</h2>
    			<?php $recent = new WP_Query("cat=17&showposts=-1&orderby=title&order=asc"); while($recent->have_posts()) : $recent->the_post();?>
    
    		<?php the_title(); ?> <a>"> - <?php the_author(); ?> </a>
    
    			<?php endwhile; ?>
    
    	</div>
    
    <?php include(TEMPLATEPATH."/sidebar.php");?>
    
    </div>
    
    <!-- The main column ends  -->
    
    <?php get_footer(); ?>

Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator Samuel Wood (Otto)

    (@otto42)

    WordPress.org Admin

    It does not appear to work on your post pages either. Examine this page:
    http://beta.boontan.net/2008/08/01/air/

    At the bottom, it shows “Written by · Filed Under Reviews, Z.N Singer”. I assume that is supposed to have the author there after the written by?

    The_author shows the display name of the user by default. Verify that the user has set their display name to something not blank in their profile.

    Thread Starter starfield

    (@starfield)

    hmmm Thanks for pointing it out!

    I will change it soon will let you know when I’m done.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘the_author template tag does not work on certain pages’ is closed to new replies.