How to Create a Page For Your Tags in WordPress

November 26, 2009 | By

To display all the tags in a blog in page a plugin that runs PHP code in pages should be installed. I prefer Exec-PHP (http://bluesome.net/post/2005/08/18/50/) because its easy to use (you just type the PHP code inclosed in <?PHP ?>), and has very good documentation. After installing the plugin create a new page and while in HTML view paste the code below.

The code uses the WordPress function wp_tag_cloud to get a list of tags formated using values of the $default array. To get more details about the function go to its Codex page (http://codex.wordpress.org/Template_Tags/wp_tag_cloud).

Filed in: PHP, WordPress | Tags: ,

Comments are closed.