I don’t know much about coding, so please help. I want to add a list of all my post tags (updated automatically as new ones are created) to one of my pages.
My site is: http://www.swatchandlearn.com/. All my current post tags are of brands. Once I figure out how to do this, I’m going to use the empty page as a Brands page.
Thanks in advance. 🙂
Thanks for your response! Didn’t get around to testing the page template until now; sorry for the late appreciation.
I’m having some issues with the format of this page: http://twitpic.com/2sfkgv. 1.) How do I format the list so that it’s not so close to the left side? 2.) The bolded Brands at the bottom is actually supposed to be the title of the page, I think. But it’s been pushed down to the bottom. How do I fix this? 3.) The comments section is all messed up.
I have created a page template for tags with the following code (it’s a mess; basically, I just pieced together coding from other php files):
Template Name: Tag Archive
<?php get_header(); ?>
<div id=”container” class=”clearfix”>
<?php get_sidebars(); ?>
<!– content start –>
<div id=”content” class=”clearfix”>
<?php wp_tag_cloud(‘smallest=10&largest=10&number=0&format=list’); ?>
<?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>
<h2>” rel=”bookmark” title=”Permanent Link to <?php the_title(); ?>”><?php the_title(); ?></h2>
<?php the_content(‘Read the rest of this entry »’); ?>
<?php endwhile; ?>
<?php endif; ?>
<?php get_footer(); ?>
Thank you in advance.
- The topic ‘Adding list of post tags to a page’ is closed to new replies.