Okay, so i have my category pages which list 9 posts, i want to add a button which you can press which takes you to another page which lists all the posts in that category. How do i do this ?
Any help would be greatly appreciated.
Okay, so i have my category pages which list 9 posts, i want to add a button which you can press which takes you to another page which lists all the posts in that category. How do i do this ?
Any help would be greatly appreciated.
Any one got any ideas ?
Here's one idea: Create a page for this and then use a custom page template for it and put something like the following code in the page template (change 44 to whatever category ID you want):
<ul>
<?php $posts = query_posts($query_string . '&orderby=title&order=asc&posts_per_page=-1&cat=44'); while (have_posts()) : the_post(); ?>
<li><a href="<?php the_permalink(); ?>" rel="bookmark"><?php the_title(); ?></a></li>
<?php endwhile; ?>
</ul>This topic has been closed to new replies.