Moving the Eventbrite Tickets box

Home Forums Ticket Products Event Tickets Plus Moving the Eventbrite Tickets box

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #1065074
    Ad
    Participant

    My Eventbrite tickets are showing up at the bottom of the sidebar on my event pages. I would like to move the ticket box to a position just below the event description.

    I’ve already read these two post, but when executing these steps and edding the code to my funtion.php file, the site is crashing. When I remove the lines of code in order to move the ticket box through FTP, the site will work again. How do I solve this problem?

    How to move Eventbrite tickets from sidebar to the post body?

    Moving the Eventbrite Tickets Box

    Thanks.

    #1065795
    Brian
    Member

    Hi,

    Sorry for the issues you are having. I can help troubleshoot this with you.

    I added this first snippet from this guide:

    Moving the Eventbrite Tickets Box

    It worked for me and do not cause any problems.

    What error do you get when the site went down?

    What is the exact coding you used? And can you provide the coding that was above and below the snippet in your file?

    Let me know and we can go from here.

    Thanks

    #1066757
    Ad
    Participant

    Hello Brian,

    This is what I did. I did it once again and the site crashes again. I added these lines of code to my themefunctions file (functions.php) on the bottom of the file:

    add_action( 'init', 'move_eb_ticket_form' );
     
    function move_eb_ticket_form() {
        $display_tickets = array( Tribe__Events__Tickets__Eventbrite__Main::instance(), 'print_ticket_form' );
        remove_action( 'tribe_events_single_event_after_the_meta', $display_tickets, 9 );
        add_action( 'tribe_events_single_event_after_the_content', $display_tickets );
    }

    Once i save the file in the editor my site crashes and I get a 500 server error. The only way to get the site running again is to remove the code in the function.php file through FTP.

    Please help.

    Bob

    #1067021
    Brian
    Member

    Hi,

    Thanks for that. I do not have any trouble with the snippet on my site and have no other reports on this issue. So it looks to be something unique on your site/hosting that might be causing this.

    Can you please provide your system info following this guide in a private reply:

    https://theeventscalendar.com/knowledgebase/sharing-sys-info/

    And we can go from there.

    Thanks

    #1067203
    Ad
    Participant

    This reply is private.

    #1067325
    Brian
    Member

    Oh my bad I see the issue now.

    That coding is for Eventbrite Tickets, which is a different plugin from Event Tickets Plus.

    Sorry for the confusion about that.

    We have this guide for Event Tickets Plus

    https://theeventscalendar.com/knowledgebase/moving-the-ticket-form/

    Does that coding work for you?

    #1068841
    Ad
    Participant

    This reply is private.

    #1069136
    Brian
    Member

    Great, glad it helps, I am going to go ahead and close this ticket, but if you need help on this or something else please post a new ticket.

    Thanks!

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Moving the Eventbrite Tickets box’ is closed to new replies.