in a thread earlier today I asked if it is possible to display google maps on other pages. I need this functionality for a customer and I want to build it on my own.
For this purpose I created a new file which displays already google maps. What I need is an explanation which files I have to include for getting the functions from tec and using it in my own file (for example using this function: https://theeventscalendar.com/function/tribe_get_venues/)
So long as you are operating within the WordPress environment, The Events Calendar is activated and you aren’t doing anything too early in the request then that function should be available for you to use (it should certainly be available to code running within a regular theme template file).
I get the error “Catchable fatal error: Object of class WP_Post could not be converted to string in /home/.sites/453/site1573403/web/wp-content/themes/patus/index.php on line 21”
It should show me two venues which are already in the database.