the_author template tag does not work on certain pages
-
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)
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.