WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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
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


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.