More data for an event venue
-
in the 1.0.8 code the venue data is sparse and gets duplicated every time I update.
I made some changes to the original file to get more data and update it correctly every time.
check it out here:
https://gist.github.com/managementboy/9463425
I added code in line 187
$args['Venue']['VenueID'] = tribe_get_venue_id($post_id); $args['Venue']['Venue'] = $event['location']; $args['Venue']['City'] = $event['venue']['city']; $args['Venue']['Street'] = $event['venue']['street']; $args['Venue']['State'] = $event['venue']['state']; $args['Venue']['Country'] = $event['venue']['country']; $args['Venue']['Zip'] = $event['venue']['zip']; $args['Venue']['Address'] = $event['venue']['street'];
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘More data for an event venue’ is closed to new replies.