This plugin hasn’t been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Page Tags

Description

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.

Installation

  1. Upload pagetags.php to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Call get_page_tags(page/post id) in your templates
  4. Use the returned array however you want

FAQ

No questions asked yet. Fire away.

Contributors & Developers

“Page Tags” is open source software. The following people have contributed to this plugin.

Contributors

Translate “Page Tags” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.