Forums

[resolved] Adding a tag cloud to the top of my categeory archive (4 posts)

  1. Brimfulof
    Member
    Posted 2 years ago #

    Hi,

    I'm using the arclite theme by digitalnature and the TDO tags Fixes plugin

    This plugin filters posts in a category by tag, so I'd really like to have a tag cloud at the top of the body of the archive page to do that. I've found this code in the Codex. I tried putting it into the archive.php file (without modifying the code at all - I really don't know what I'm doing with PHP), but don't get anywhere with it.

    Can anyone enlighten me?

    Thanks.

  2. esmi
    Theme Diva & Forum Moderator
    Posted 2 years ago #

    I've found this code in the Codex.

    What code? http://codex.wordpress.org/Template_Tags/wp_tag_cloud ?

  3. Brimfulof
    Member
    Posted 2 years ago #

    Thanks Esmi, I was actually just coming back here to say that I'd worked it out, but I really appreciate you taking the time to help out a dunce like me.

    I think I was just entering something incorrectly. It was incredibly simple, I just entered this into my template:

    <?php
    
    wp_tag_cloud();
    
    ?>
  4. esmi
    Theme Diva & Forum Moderator
    Posted 2 years ago #

    No problem. :-) Most template tags work pretty well straight out of the box like that. http://codex.wordpress.org/Template_Tags is a good page to bookmark and use if you ever find yourself asking "How can I...?"

Topic Closed

This topic has been closed to new replies.

About this Topic