Create your own Tag Archive page in wordpress

In most of the wordpress blogs, side bars are loaded with content, widgets, banners, links, videos etc. so many will try to crop the loaded content from the side bars, in this process I have moved the tag cloud or tag archive section to a new page in wordpress.

I hope this will be really helpful for the bloggers who are looking out to sort out their pages/widgets and make their blog to look more clean.

Just follow these simple steps to create a Tag Archive page:

  1. Create a php page you can name it as “tag_archive.php”
  2. Place the code blow in the new page created
    Template Name: TAG Archive
    <?php get_header(); ?>
    <h2>Tag Archive</h2>
    <?php wp_tag_cloud(‘smallest=15&largest=35’); ?>
    <?php get_sidebar(); ?>
    <?php get_footer(); ?>
  3. The first line “Template Name: TAG Archive” defines your newly created page name
  4. Use the functions get_header(); to include header, get_sidebar(); to include your sidebar and use get_footer(); for footer
  5. Use wp_tag_cloud function to include your tag cloud and adjust your font sizes via smallest and largest parameters
  6. Make sure you are going with your default theme look and feel
  7. Once you are done, upload tag_archive.php in your theme directory
  8. Then create a new page in your blog called Tag Archive via wordpress interface admin
  9. And choose “Tag Archive” as your Page Template dropdown
  10. That’s it save and publish the page – your Tag Archive page is created

Found this article useful? Let me know if you are looking out for any scripts or solutions etc, will share the same with you all.

Published by Sravan Kumar

A Creative Web Designer, Developer, User Interface and User Experience Expert.

Join the Conversation


  1. I created a tags page, but when you click on a tag, you aren’t taken to the content. What do I need to fix?

  2. @ Tim
    Have gone through your site – but looks like you are not tagging the articles – I have check few of your articles which are not tagged. No idea how you are generating the list of tags….. – kindly check once.

Leave a comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Thank you for sharing the article across social media. You can follow us in these paltforms to receive latest updates from WittySparks.

Send this to a friend