Return to Snippet

Revision: 30856
at August 24, 2010 04:57 by Jamie

Initial Code
echo get_the_term_list( $id, $taxonomy, $before, $sep, $after );

// typically
echo get_the_term_list( $post->ID, 'video_tag', 'Tags: ', ', ', '.' );

Initial URL

Initial Description
Returns an HTML string of taxonomy terms associated with a post and given taxonomy. Terms are linked to their respective term listing pages.\r\n\r\nThis is for when a custom taxonomy is registered for a custom post type.

Initial Title
Get WordPress Tags/Categories for a Custom Post Type

Initial Tags

Initial Language