Hi all, I am looking for a way to embed my tag cloud into my individual page, instead of having it in my sidebar. Is there such way? Or is there a plugin for WP can do it? Thanks all
Here's a great tag cloud plugin: http://reciprocity.be/ctc Yes, this can be done, but you have to do a little work first. In order to have this plugin show up in its own page, you'll need to add an additional template page to your template (you can simply duplicate an existing one), and include the code for the tag cloud within the body code. Then, create a new page (not a post) called "tagcloud" or whatever you want, and assign the new template page you've just created to this new page.
hi mark, thx u. I got a problem here. I activated the plugin, i created a new page, i duplicated the index.php (renamed), but i could not "assign the new template to the new page"... also, where is "the code for the tag cloud"? u mean i copy everything from the ctc.php? sorry, im not so well versed in WP...
You need to change the name of the page. If you duplicated the index.php and renamed it tags.php, open it and change or add this at the top: <?php /* Template Name: Tags */ ?> Code (markup): It will now be a template named Tags in your Write Page menu. As for how you get the tags to show up, you'll have to use some variation of this call in the page: <?php ctc(); ?> Code (markup): If you go to the website that you downloaded the plugin from you'll see a list of parameters for it. Play around with them to get the desired output.
what mizaks said above - do that, and add this code into the template body area (where you want the cloud to appear): <?php ctc('smallest=10&largest=28&unit=px&mincolor=#c0c0c0&maxcolor=#000000&showcount=yes'); ?> Code (markup):
thx mizaks and mark for the helps! I managed to get it. But i used only"<?php wp_tag_cloud(''); ?>" in the tagcloud template, it looks good ebough for me at the moment. Thanks you so much guys, u guys are wonderful!