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.

What I need to accomplish is to provide a feed link for every item in a custom taxonomy. The function get_category_feed_link only works for categories, and I don't see that tags support this either.

How to obtain the feed for a custom taxonomy item? Does exists something like get_taxonomy_feed_link(<your_custom_taxonomy_name>, <your_custom_taxonomy_item_id>).

Thanks!

share|improve this question
add comment

1 Answer

Oops... just found how, by reading the source:

get_term_feed_link( $my_custom_taxonomy_term->term_id, 'my_custom_taxonomy_name' );`

It's just not documented in the Codex.

share|improve this answer
add comment

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.