• Blog
  • Talks

Getting page tags to show on your Wordpress pages

2010-03-24This post is over 2 years old and may now be out of date

(1 minute read)

A number of users of Page Tagger have emailed in asking how to get their page tags showing on their pages. So I thought I'd put up a short blog post on how to do this.

Once you've happily tagged your pages using Page Tagger you need to edit your theme's page.php template. This is the template which gets used by Wordpress whenever you view a static page (as opposed to a blog post) on your site. Inside this file you should have a section resembling "The Loop":

<? php if (have_posts()) : while (have_posts()) : the_post(); ? >
...

Inside this section you need to place a call to the the_tags() template method. This will output your page tags at that spot with some default formatting. Read the documentation for the_tags() for information on changing how it works. You can also use alternative functions such as get_the_tags()or get_the_tag_list() to achieve a similar effect.

If for some reason your page tags still aren't showing on your page then please get in touch as it maybe a bug in the Page Tagger plugin.

  • Home
  • Blog
  • Talks
  • Github
  • Linked-in
  • Email
  • RSS
© Ramesh Nair