Posted by sheadbeck
Social Marketing
Here is a quick post to help people that may have the same problem I did when trying to make a page or widget to display all of my
Wordpress tags as a list the same way you can display your
Wordpress categories. I was working on a different site and couldn’t figure this out, the only support Wordpress provides for listing tags is to display the tag cloud. That’s fine and dandy but just not what I wanted.
Here it is, all you need to do is customize the arguments in the Wordpress tag cloud PHP code.
Take a look at the default which will give you the Web 2.0 tag cloud:
<?php wp_tag_cloud(); ?>
Now take a look at my customization to display the tags as a list:
<?php wp_tag_cloud(’smallest=12&largest=12&format=list&unit=px’); ?>
You can customize the list layout in your CSS or inline.
That’s all…peace out.
Tags: Wordpress