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.
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();
?>
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...?"