Home › Forums › Ticket Products › Event Tickets Plus › Adding ECP Widget to WooTickets
- This topic has 5 replies, 2 voices, and was last updated 11 years, 8 months ago by
Barry.
-
AuthorPosts
-
August 14, 2014 at 4:36 am #665336
Emiliano Pasini
ParticipantHi, I would like to know if it’s possible to add the small calendar widget from Event Calendar Pro to the tickets page ( i’m using woocomerce tickets ). What I’m trying to achieve is, instead of using the google maps that is provided with wootickets, place instead this calendar. I want to be able to display the tickets all the time, also when i’m changing the date of the event. This is possible?? Thanks
August 14, 2014 at 2:20 pm #668517Barry
MemberHi!
So, just to clarify, you want to position the calendar widget in the space normally occupied by a map within single event pages?
That should definitely be possible if so and the best starting point here is the Themer’s Guide which describes how to safely override and customize our templates.
The map lives within the modules/meta/map.php so one option is simply to override this and add code for embedding the calendar widget there; alternatively (since it admittedly doesn’t make too much sense to have a template file named map.php that doesn’t contain a map) you could make the change at a higher level, such as modules/meta.php.
Actually embedding the widget outwith a sidebar is the last piece of the puzzle. Thankfully, WordPress makes the easy and provides a function called the_widget() for this very purpose, ie:
the_widget( 'TribeEventsMiniCalendarWidget' );I hope that helps!
August 22, 2014 at 4:21 am #691208Emiliano Pasini
ParticipantThank you Barry, I will get ECP and try that. Just in case I’m not able to get what I need, it is possible to embed the ECP calendar on a page??
There is a shortcode for that with ECP?
Many Thanks, EmiAugust 22, 2014 at 7:14 am #691505Barry
MemberHi Emi,
I’m afraid there is not a shortcode for doing this, although this unoffical plugin, not supported by us here on the Modern Tribe forums, may offer you what you need 🙂
Thanks again!
August 22, 2014 at 7:17 am #691532Emiliano Pasini
ParticipantGreat! Thanks!
August 22, 2014 at 8:21 am #691658Barry
MemberOur pleasure 🙂
I’ll go ahead and close out this thread – but please do create new threads as needed if we can help with anything else. Also, if you have a moment to spare, we’d love to hear your thoughts on The Events Calendar over on our plugin review page – thanks again!
-
AuthorPosts
- The topic ‘Adding ECP Widget to WooTickets’ is closed to new replies.
