Plugin Directory

Page Tags

Easy tag function for any page.

This plugin adds the function get_page_tags which allows you to get an array of tag objects for any page or post you want.

Usage:

<?php
$tags = get_page_tags($post->ID);
foreach($tags as $tag)
{
    echo '<li id="tag-'.$tag->term_id.'"><a href="/'.$tag->slug.'">'.$tag->name.' ('.$tag->count.')</a></li>';
}
?>

The array contains tag objects identical to the tag objects returned by the get_the_tags() Template Function.

Tags: ,

Requires: 2.0 or higher
Compatible up to: 2.5
Last Updated: 2008-4-8
Downloads: 959

Average Rating

2 stars
(3 ratings)

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.