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/
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?
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 :)
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(); ?>
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
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!
randomaniac
Member
Posted 2 years ago #