Home › Forums › Ticket Products › Event Tickets Plus › Move ticket info above event info
- This topic has 6 replies, 3 voices, and was last updated 10 years, 10 months ago by
Support Droid.
-
AuthorPosts
-
October 28, 2013 at 10:21 am #73317
David
ParticipantHi, followed info here: https://theeventscalendar.com/support/forums/topic/move-ticket-info-above-event-info/#post-58779 and the ticket is moved under the event content, but the original Tickets are still at the bottom, so shows twice.
Is there a way to hide the tickets and then use code to manually display it on the signle-event.php file? Or do we still need to use ‘add_action’ in the functions file?
October 28, 2013 at 1:47 pm #73437Kelly
ParticipantHi, David. That’s a great question! 🙂
I’ve never seen that behavior before, so it would be very helpful if you would send me a link to a page on your site where I could see it in action. Is it possible that you only added the AddAction and not the RemoveAction?
Also, did you try changing the theme to Twenty Twelve and adding the snippet to the functions.php there?
Thanks! 🙂
October 29, 2013 at 2:29 am #73544David
ParticipantThis reply is private.
October 29, 2013 at 5:33 pm #73713Kelly
ParticipantHi, David. Thanks for that.
Would you mind trying this snippet for the remove action:
remove_action(‘tribe_events_single_event_after_the_meta’, array(TribeWooTickets::get_instance(), ‘front_end_tickets_form’), 5);
That should do the trick. 🙂
Please let us know how it goes!
October 31, 2013 at 3:50 am #73957David
ParticipantHi Kelly,
Many thanks for this, it has fixed the problem 🙂
I have opted for add_action(‘tribe_events_single_event_before_the_content’, array(TribeWooTickets::get_instance(), ‘front_end_tickets_form’)); and plan on modifying the WooTicket layout.
Many thanks again for your help.
David
October 31, 2013 at 12:10 pm #74076Kelly
ParticipantNo problem, David. I’m glad we got it sorted. Thanks for pointing out that we need to update the tutorial!
Also, I just thought I’d point out that it’d be a good idea to include a priority in there just to be consistent. It should still work without though.
Since you’re all set, I’ll close this thread. Please start a new one if anything else comes up! 🙂
July 7, 2015 at 6:29 am #981723Support 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 ‘Move ticket info above event info’ is closed to new replies.
