ThemeShaper Forums » Thematic

Add a Tag Cloud to Archives?

(2 posts)
  • Started 12 years ago by mfeldstein
  • Latest reply from Ian Stewart
  • This topic is resolved
  1. I want to add a tag cloud to my archives pages. From the Codex, it looks like all I need to do is add the following to the Archives page template right below where it currently has <ul id="archives-page" class="xoxo">:

    `<?php if ( function_exists('wp_tag_cloud') ) : ?>

  2. <h2>Popular Tags</h2>

      <?php wp_tag_cloud('smallest=8&largest=22'); ?>
  3. <?php endif; ?>`

    However, I know zero PHP, so I'm hoping you could confirm that I'm on the right track before I do something stupid.

    Posted 12 years ago #
  4. Yep, that looks right.

    Posted 12 years ago #

RSS feed for this topic


You must log in to post.