Move ticket info above event info

Home Forums Ticket Products Event Tickets Plus Move ticket info above event info

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #73317
    David
    Participant

    Hi, 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?

    #73437
    Kelly
    Participant

    Hi, 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! 🙂

    #73544
    David
    Participant

    This reply is private.

    #73713
    Kelly
    Participant

    Hi, 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!

    #73957
    David
    Participant

    Hi 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

    #74076
    Kelly
    Participant

    No 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! 🙂

    #981723
    Support Droid
    Keymaster

    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.

Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘Move ticket info above event info’ is closed to new replies.