Showing posts without moving away from category archive
-
Hi,
I am currently displaying a menu of all posts within a category archive using the following
?php while (have_posts()) : the_post(); ?> <ul id="navlist"> <li><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>" ><?php the_title(); ?> </a></li> </ul> <?php endwhile; ?>
The idea is to create a menu from the posts in a category. The problem is when you click on a post you move away from the archive, meaning the menu disappears. Is there any way to change what post is displaying WITHIN the archive, rather than navigating away to a single post… or for the new single page to show the menu list from the category id we have just navigated away from?
does that make sense?!
thanks!
[moderated–bump removed. Please refrain from bumping as per Forum Rules]
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Showing posts without moving away from category archive’ is closed to new replies.