Technology Insights

Create a WordPress Template to List All Tags on a Single Page: wp_tag_cloud

Previously I created an article about listing all WordPress tags on a single page however some things have changed since that time. When going back and looking at the article it looks like some of the tags have changed since that time. I do have a WordPress plugin installed called Simple Tags so take that into account when using the below directions. This plugin is recommended to provide you more control over your tags. The easiest way to display all tags is to create a blank WP page and assign a template to it that specifically lists all tags. Follow the below instructions and you will have a page listing all of your tags in no time at all.

  1. Add a Template Page:Add a new page called tag-cloud.php to your server in the theme directory of your WordPress installation. The location of the new file will be wordpress-root/wp-content/themes/theme-name/. You can copy the contents of the page.php file from the default theme or your theme and then make the following two modifications.

Technology Insights

How To Create A WordPress Page That Lists All Of Your Tags

While working on this site I decided to not only have a tag cloud widget but also build out a page that included nothing but a list of all the tags marked for each article. This way someone could click on the tag page I wanted to list all the tags in alphabetical order and look for a specific tag. The WordPress documentation page is awesome so it was fairly easy to find though I had to search the documentation rather than typing in my question on a search engine and locating the answer quickly.