Home › Forums › Ticket Products › Event Tickets Plus › Location of WooTickets and Event Meta Box
- This topic has 6 replies, 4 voices, and was last updated 10 years, 9 months ago by
Support Droid.
-
AuthorPosts
-
July 4, 2013 at 8:47 pm #53394
Tony
ParticipantAfter upgrading to 3.0, I find that the meta box with event particulars is pushed below the event text. Moreover, the WooTickets box is pushed all the way to the bottom of the event, even below Related Events.
Which file would I edit to move these items around. At the very least, the tickets box needs to appear before related events.
Thanks
July 5, 2013 at 7:51 am #53427Barry
MemberHi Tony, take a look at our updated Themer’s Guide first of all (as the directory and file naming conventions have changed somewhat):
https://theeventscalendar.com/support/documentation/events-calendar-themers-guide/
Basically though you have a choice between editing tribe-events/single-event.php and rearranging elements, or possibly and alternatively you may be able to accomplish this by clever use of actions and filters from within your theme’s functions.php file (if you’re comfortable with that).
July 6, 2013 at 8:33 am #53620Tony
ParticipantThanks for the info, Barry.
July 7, 2013 at 7:01 pm #53722Toni
ParticipantI was wondering if anyone could help elaborate on how I can get the Related Events to appear below the Woo Tickets box. I’m new to PHP, but from what I saw in single-event.php, the Related Events and Woo Tickets box are being called together via “do_action( ‘tribe_events_single_event_after_the_meta’ ) “. I’ve been looking through the files but can’t seem to find where the code is putting the Related Events before the ticket box. My client wants the ticket box right after the description but also wants the Related Events box, just to appear at the end of the page. Unless I can get that working the Woo Tickets plugin we purchased will unfortunately not work for our purposes.
Any advice as to in what file the Related Events box is being told to display before the ticket box, and how I could switch them around? Thanks!
July 8, 2013 at 7:16 am #53768Barry
MemberHi Jonah,
They are indeed triggered by the same hook, so one way to deal with this is to change the priorities of one or more actions.
Here’s an example where I am making the WooTickets form display before related events by changing its priority so it runs before the related events action:
You could for instance add the above snippet to your theme’s functions.php file … does that help?
August 5, 2013 at 6:59 am #58808Barry
MemberGuessing we’re all good here since there’s been no follow-up in quite a while. I’ll go ahead and close this thread. Thanks all!
July 7, 2015 at 6:26 am #979413Support Droid
KeymasterThis 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. -
AuthorPosts
- The topic ‘Location of WooTickets and Event Meta Box’ is closed to new replies.
