Version: 1.1.3 List the categories that are peer (i.e. share the same category parent) to all lowest-level assigned categories for the specified post
The plugin provides three optional template tag for use in your theme templates.
<?php function peer_categories( $separator = '', $post_id = false ) ?>
Outputs the peer categories.
<?php function get_peer_categories_list( $separator = '', $post_id = false ) ?>
Gets the list of peer categories.
<?php function get_peer_categories( $post_id = false ) ?>
Returns the list of peer categories for the specified post.
$separator
Optional argument. (string) String to use as the separator.
$post_id
Optional argument. (int) Post ID. If 'false', then the current post is assumed. Default is 'false'.
Requires: 2.5 or higher
Compatible up to: 3.3.2
Last Updated: 2011-12-11
Downloads: 1,428
Got something to say? Need help?