• Resolved thenotec

    (@thenotec)


    I used code above to move the RSVP form and it works. Now I want to move the message of link tickets – Tribe__Tickets__Tickets_View::instance() – to above of all content.

    Moving RSVP FORM
    ——————–
    if ( class_exists( ‘Tribe__Tickets__RSVP’ ) ) {

    // Remove the form from its default location (after the meta).
    remove_action( ‘tribe_events_single_event_after_the_meta’, array( Tribe__Tickets__RSVP::get_instance(), ‘front_end_tickets_form’ ), 5 );
    }
    if ( class_exists( ‘Tribe__Tickets__RSVP’ ) ) {

    // Add the form to its new location (before the content).
    add_action( ‘tribe_events_single_event_after_the_content’, array( Tribe__Tickets__RSVP::get_instance(), ‘front_end_tickets_form’ ), 5 );
    }

    Any suggests?

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Moving Link to Tickets Message before content’ is closed to new replies.