Calendar widget directly into theme Post date Home › Forums › Calendar Products › Events Calendar PRO › Calendar widget directly into theme This topic has 4 replies, 3 voices, and was last updated 11 years ago by Support Droid. Viewing 5 posts - 1 through 5 (of 5 total) Author Posts May 9, 2012 at 12:48 pm #18953 DavidMember I don’t want to use widgets in my theme, is it possible to insert the calendar widget and upcoming events widget directly into my theme? Thanks again 🙂 May 10, 2012 at 9:10 am #18987 JonahParticipant Hi David, sure you can, you would just use the following wherever you want the widget to appear: the_widget('TribeEventsCalendarWidget'); Make sure to wrap in PHP tags if needed 🙂 May 15, 2012 at 11:56 am #19198 DavidMember Thanks Jonah,I searched the documentation relating to this but couldn’t find anything so hope you don’t mind me asking here. I have inserted and themed up fine, is there a way to pass any parameters such as the h2 widgettitle to the page? May 15, 2012 at 12:47 pm #19201 JonahParticipant Hey David, the_widget is documented pretty heavily here: http://codex.wordpress.org/Function_Reference/the_widget To pass a title, you should be able to use: the_widget('TribeEventsCalendarWidget','title=My Calendar Widget'); I hope that helps! July 7, 2015 at 6:20 am #976824 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 ‘Calendar widget directly into theme’ is closed to new replies. → Please verify your API key is correctly entered on the settings