Quantcast
Channel: WordPress.org Forums » All Posts
Viewing all articles
Browse latest Browse all 112726

Drew Jaynes (DrewAPicture) on "Categories in Custom Post Type Loop/List"

$
0
0

Sorry, I guess I misunderstood. Since you're using a custom taxonomy afterall, take a look at get_the_term_list.

To reproduce the look of what the_category() produces, you could use something like this:

echo get_the_term_list( $post->ID, 'works', 'Works: ', ', ', '' );

Viewing all articles
Browse latest Browse all 112726