Forums

[Plugin: Page Tagger] Tags don't show on Pages (7 posts)

  1. tdako
    Member
    Posted 2 years ago #

    I use Pages to create a photo gallery and I was looking for an option to add tags to my pages and was pretty happy to see this plugin.

    So I downloaded it and installed it which is pretty simple. The only thing is, the Tags don't show up on the pages like they would in posts, but show up ONLY in the Tag Cloud. Which means that if a page does not have the tag cloud showing in the template, this plugin is not very useful.

    So I deactivated the plugin.

    http://wordpress.org/extend/plugins/page-tagger/

  2. randomaniac
    Member
    Posted 2 years ago #

    Hi, I'm the developer of this plugin. In your page template are you using the 'the_tags()' call to fetch tags for the page?

  3. imranies
    Member
    Posted 2 years ago #

    Hello randomaniac :)

    yes i also very happy to found your plugin, because i really need tags in a wordpress pages, and not just in post.

    but i also cannot see the tag after i put some tags in my wordpress pages. so can i know how to fix this problem?

    you said that we need to put a code in page.php right?

    thanks for your support :)

  4. randomaniac
    Member
    Posted 2 years ago #

    Yes imranies, you can use the the_tags() method to output the tags assigned to the post currently being viewed. So if you place the following into your page.php you should be able to see the tags for that page:

    <?php echo the_tags(); ?>

  5. lutetia
    Member
    Posted 2 years ago #

    Randomaniac, could you please specify where that bit of code should go in the page template? I'm not sure where it goes...i.e. what code should it follow....

    Thanks

  6. lutetia
    Member
    Posted 2 years ago #

    OK, I placed it after this line:

    <?php link_pages('<p>Pages: ', '</p>', 'number'); ?>

    and before the </div>

    and it worked!

    Solved my missing tags on posts issue too.

    Thanks!

  7. randomaniac
    Member
    Posted 2 years ago #

    Hey guys, I've put up a blog post about getting your tags to show on your pages: http://www.hiddentao.com/archives/2010/03/24/getting-page-tags-to-show-on-your-pages/

Topic Closed

This topic has been closed to new replies.

About this Topic