WordPress.org

Support

Support » How-To and Troubleshooting » Adding list of post tags to a page

Adding list of post tags to a page

Viewing 3 replies - 1 through 3 (of 3 total)
  • keesiemeijer
    moderator

    @keesiemeijer

    You can create a page template for all the brands and use wp_tag_cloud to show all your tags on that page.

    SwatchAndLearn
    Member

    @swatchandlearn

    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):

    <?php /*
    Template Name: Tag Archive
    */ ?>
    <div>
    <?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>
    <div class=”entry”>
    <?php the_content(‘Read the rest of this entry ยป’); ?>
    </div>

    <?php endwhile; ?>
    <?php endif; ?>
    </div>
    <?php get_footer(); ?>

    Thank you in advance.

    SwatchAndLearn
    Member

    @swatchandlearn

    Any help would be great appreciated. ๐Ÿ™‚

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Adding list of post tags to a page’ is closed to new replies.