Ad

Forum Replies Created

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • in reply to: Moving the Eventbrite Tickets box #1068841
    Ad
    Participant

    This reply is private.

    in reply to: Moving the Eventbrite Tickets box #1067203
    Ad
    Participant

    This reply is private.

    in reply to: Moving the Eventbrite Tickets box #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

Viewing 3 posts - 1 through 3 (of 3 total)