How to add event category to RSS feeds?

Home Forums Calendar Products Events Calendar PRO How to add event category to RSS feeds?

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #992779
    David
    Participant

    I successfully added event start time and end time to the events RSS feed using your example, however I need to also make sure event categories are also listed in the RSS feed. How do I accomplish this?

    #992902
    Geoff
    Member

    Hey David and welcome to the forums!

    Good question and you’re right: the tutorial does not include an example for how to include the category. However, you can do so by including this line after the end date:

    <category><?php echo tribe_get_event_categories ?></category>

    Will this work for you? Please let me know. 🙂

    Cheers!
    Geoff

    #993030
    David
    Participant

    Sorry, that was not what worked for us. After digging through more of the documentation this tribe_get_event_cat_slugs($post_id) function works perfectly for our need. Thanks.

    David

    #993125
    Geoff
    Member

    Awesome! Sorry the first attempt didn’t do the trick but I’m stoked to see you were able to find something that does. 🙂

    Geoff

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘How to add event category to RSS feeds?’ is closed to new replies.