Support » Fixing WordPress » Adding list of post tags to a page

Viewing 3 replies - 1 through 3 (of 3 total)
  • 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.

    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: 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
    */ ?>
    <?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 ยป’); ?>

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

    Thank you in advance.

    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.