How do i show only the titles of each article on a category page? So it looks more like a table of contents of a book.
How do i show only the titles of each article on a category page? So it looks more like a table of contents of a book.
are you familiar with the wordpress templates, or template tags?
If so, add this to your category.php file just before teh loop - like I have here:
<?php $posts = query_posts($query_string .
'&orderby=title&order=asc&posts_per_page=10');
if(have_posts()) : while(have_posts()) : the_post(); ?>
The options above are without a title, in alphabetical order, with 10 posts per page.
If you want them listed in the default order (chronologically) then just remove the <?php the_content();?> or excerpt from the template. And play with the design titles, maybe removing the heading style so that it lines up nicely.
This topic has been closed to new replies.