Upcoming Events in Page Template Post date Home › Forums › Calendar Products › Events Calendar PRO › Upcoming Events in Page Template This topic has 4 replies, 3 voices, and was last updated 10 years, 9 months ago by Support Droid. Viewing 5 posts - 1 through 5 (of 5 total) Author Posts January 14, 2013 at 8:34 am #30759 JasonParticipant I’ve looked for a bit – and maybe I’m just completely missing it here – but how can I embed the upcoming events widget into a page template? Is there a shortcode to use? Or is there a function that needs to be used? Thanks for your help. January 14, 2013 at 9:20 am #30779 JonahParticipant Hi Jason, We don’t have any shortcodes but you can echo any widget using the_widget() function in WordPress (http://codex.wordpress.org/Function_Reference/the_widget). Here are the following widgets you can call: TribeEventsListWidget() TribeEventsAdvancedListWidget() TribeEventsCalendarWidget() TribeEventsFeatureWidget() You could call any of those with the_widget() function like so: the_widget('TribeEventsAdvancedListWidget'); //will echo the Events Advanced List Widget Another option would be to include a custom query in your page using either WP_Query or tribe_get_events() (https://theeventscalendar.com/support/documentation/the-events-calendar-template-tags-general-functions/#functiontribe_get_events) I hope that helps but let me know if you have any questions. – Jonah January 14, 2013 at 12:18 pm #30791 JasonParticipant Thanks Jonah! Good stuff. January 14, 2013 at 2:24 pm #30799 JonahParticipant No problem Jason, let us know if you need anything else. – Jonah July 7, 2015 at 6:26 am #978427 Support DroidKeymaster This topic has not been active for quite some time and will now be closed. If you still need assistance please simply open a new topic (linking to this one if necessary) and one of the team will be only too happy to help. Author Posts Viewing 5 posts - 1 through 5 (of 5 total) The topic ‘Upcoming Events in Page Template’ is closed to new replies. → Please verify your API key is correctly entered on the settings