Show start and end dates in event category feed

Home Forums Calendar Products Events Calendar PRO Show start and end dates in event category feed

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #967204
    Anthony Mitchell
    Participant

    Hi, I can’t find any open threads about how to do this. There are a few that link to a guide page which must have been live once upon a time but now 404s, so here goes…

    We’re currently using WordPress as a blog and events platform bolted on to a non WordPress site. We have some PHP script that pulls the first 4 events from the feed to show on the homepage (the non WP part of the site).

    As the number of events has grown I now need to be more specific about what to show, so I set up a category for ‘featured events’ to display events from that feed instead.

    I would like to add the event start and end dates to the RSS output so we can call those to the homepage too.

    As I said, I’ve seen a few threads on this topic, but they’re all closed and don’t provide the answer.

    #967332
    Geoff
    Member

    Hi Anthony! Looks like you’ve been registered for quite a while and this is your first post to the forums, so…welcome. 🙂

    Good question. You can use the tribe_get_start_date() and tribe_get_end_date() functions in your RSS template. Echo them in the template where you would like the to display, like so:

    <?php echo tribe_get_start_date() ?>

    If you need to create a custom RSS template, this is a nice write-up on how to do that.

    Cheers!
    Geoff

    #971440
    Geoff
    Member

    Hey Anthony! This thread has been quiet for a couple of weeks, so I’m going to go ahead and close it. Please feel free to start a new thread if you still have any questions here and we’d be happy to help. 🙂

    Cheers,
    Geoff

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Show start and end dates in event category feed’ is closed to new replies.