return venue title in the tribe_events json file

Home Forums Calendar Products Community Events return venue title in the tribe_events json file

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1486325
    Sara Dregney
    Participant

    I need to append the venue title to the tribe_events json file for each event. I have registered both tribe_events and tribe_venue on my site. _EventVenueID is included in the tribe_events. How do I use the _EventVenueID to pull the venue title from the 2nd json file tribe_venue.

    Please help!

    #1487472
    Victor
    Keymaster

    Hi Sara!

    After reviewing your request this essentially looks like a custom development task and so is outside of our stated scope of support.

    With that being said, we’d love to help point you in the right direction.

    I’d recommend starting off by taking a look at our Themer’s Guide, which can show you which templates can be edited and copied in order to attempt the results that you are looking for.

    For your customization, you may want to take a look at this template:

    If you’d prefer not to tackle this customization on your own, we may be able to assist you further. We do need to prioritize support requests from other customers at this time but I’ll certainly flag this with the team and – although we can’t make any promises – if we have time and space to come back and help, we’ll be happy to do so.  Please let us know if you’d like to go this route so that you can be added to this queue.

    In the meantime, if there is any more information you can share (including mocks) that will help us to better understand what you are seeking please do feel free to add them to this ticket.

    If you urgently need help with this, however, you may instead wish to consider working with a suitably skilled developer or designer who can offer the additional level of support you require.

    Thanks!
    Victor

    #1501045
    Barry
    Member

    Hi Sara,

    I wanted to poke at this and see if we could do anything for you, but I’m not completely sure what you are seeking.

    The venue title is already included in the event data returned by the REST API. Simplified example, drawing upon our WP Shindig test site:

    $event = json_decode(
    	wp_remote_retrieve_body(
    		wp_remote_get( 'https://wpshindig.com/wp-json/tribe/events/v1/events/44822' )
    ) );
    
    print $event->venue->venue;
    #1520362
    Support Droid
    Keymaster

    Hey there! This thread has been pretty quiet for the last three weeks, so we’re going to go ahead and close it to avoid confusion with other topics. If you’re still looking for help with this, please do open a new thread, reference this one and we’d be more than happy to continue the conversation over there.

    Thanks so much!
    The Events Calendar Support Team

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘return venue title in the tribe_events json file’ is closed to new replies.