Hi guys, were trying to get one of our custom fields to display on an event page, but all that is returned is:
Array ( [_address] => Array ( [0] => 14 cousins Pl ) [_city] => Array ( [0] => Bathurst ) [_lat] => Array ( [0] => -33.403094 ) [_lng] => Array ( [0] => 149.551738 ) )
Code entered into event-meta-event-single.php is:
$meta = eo_get_venue_meta(eo_get_venue());
print_r($meta);
It works for other venue data, (ie parsing address into google maps) just not the custom field I created.
Custom field is agent_number to pull up a real estate agent’s phone number.
As you can see on the event itself,
http://www.bathurstopenhouse.com.au/houses/house/phils-new-test-house/
the test maps link is working perfectly. (on mobile OS)

Ardin Beech
(I really like how you’ve used the venues map for the header 🙂 ).
I’ve tested this and it works as expected for me. Can you double check the venue’s custom fields metabox to ensure the data is there? I can take a look at the admin / templates as well if you’d like, but from what you’ve posted – the code is right, but the data just isn’t there.

Stephen Harris
Thanks Stephen, I’ve tried with a different tag (agent_ph) and still no joy.

Ardin Beech
That’s odd. Can you give me admin and FTP access to take a look? Feel free to get in contact with the details via this form. Or just drop me an email.

Stephen Harris
Emailed you all the deets. Hope you got it.

Ardin Beech
Hi Ardin,
I’ve just sent you an email.

Stephen Harris