tribe_get_venue() not working
-
I’m integrating The Events Calendar in a Genesis child theme and want to show the venue name. I tried this:
[ Moderator Note: Please post code or markup snippets between backticks or use the code button. ]
<?php global $post; // both of these don't work :( echo tribe_get_venue( $post->ID ); echo tribe_get_venue( 3885 ) // where 3885 is an event ID ?>
What am I doing wrong? I’ve tried this with all plugins disabled and with the Twenty Twelve theme (using the default
ecp-single-template.php
file. Doesn’t work in Twenty Twelve too – does that mean I need to upgrade to Pro?Here’s my full code for
ecp-single-template.php
if you’re curious: https://pastebin.com/tfbizgMn (line 58)Thanks
https://www.ads-software.com/extend/plugins/the-events-calendar/
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘tribe_get_venue() not working’ is closed to new replies.