Tag Archive Page — only showing 1 permalink but I want to show all
-
Hello,
I used this code and made a tag.php for an archive of my tags
<?php /* Template Name: Tag Archive */ ?> <div> <?php get_header(); ?> <h2>Tag Archive</h2> <?php wp_tag_cloud(''); ?> <div class="navigation"> <div class="alignleft"><?php next_posts_link('? Older Entries') ?></div> <div class="alignright"><?php previous_posts_link('Newer Entries ?') ?></div> </div> <?php if (have_posts()) : ?> <?php while (have_posts()) : the_post(); ?> <h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h2> <div class="entry"> <?php the_content('Read the rest of this entry ?'); ?> </div> <?php endwhile; ?> <?php endif; ?> </div> <?php get_footer(); ?>
And so it works fine but only shows the ONE permalink at a time and you have to click on “newer entries” to get to the next one.
Is there a way to display all of the permalinks and not to have to use the “older” and “newer” enteries?
Any help is greatly appreciated!!
- The topic ‘Tag Archive Page — only showing 1 permalink but I want to show all’ is closed to new replies.