Sign up ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I'm looking for solution that will display all the tags that used on a custom post type.. I just want to list them all coz I'm going to add jquery code on each tag. :)

share|improve this question
Please avoid words like coz. There are tons of non native english speakers here and probably some will not understand what you wrote later on. At least it's no chat here. Thanks. – kaiser Aug 31 '12 at 1:06

1 Answer 1

up vote 4 down vote accepted

wp_get_object_terms will have your answer.

wp_get_object_terms( $post_ids, 'post_tag', $optional_args );

There is also get_the_terms which is simpler but also gets the job done.

get_the_terms( $id, 'post_tag');

share|improve this answer
Thanks, it takes time for me to accomplish and now i'm done.. Thanks @sneek.. you are awesome.. – markyeoj Jul 26 '12 at 6:37

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.