Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

Basically I've setup a custom post type and taxonomy for a set type of posts and I'm creating a child theme from twentyeleven.

When I use the default WP Posts and then I tag them and categorize them, get_the_category_list and get_the_tag_list do their work and display below the post.

Now I would like to do the same with my custom post type with two taxonomies that behave as tags and categories. Is there a way I can do this without having to redo the work that get_the_category_list and get_the_tag_list already do?

share|improve this question

1 Answer 1

up vote 5 down vote accepted

You can use the generic get_the_term_list() for all taxonomies.

share|improve this answer
    
I pretty much figured it out a few minutes after posting the question by looking at category-template.php. I'm going to accept this as the answer as it is the simplest method. Thanks. –  george.n May 31 '12 at 14:01

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.