Moving the RSVP section to the top

Home Forums Ticket Products Event Tickets Plus Moving the RSVP section to the top

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1069170
    Peggy OBrien Jones
    Participant

    Hi,

    I’ll start this with an apology – I’m a basic newbie to WordPress and to using a theme. I am using ThemeFusion’s Avada theme. I’ve just installed Event Tickets Plus – great plugin! The only thing is I’d like to move the RSVP information to the top of the page, rather than having it at the bottom. I did search the forum for info on how to do this, and found some references to it but I really don’t understand where the code gets put. Would this go into the Custom CSS section in the theme? 1st for some context, I work for an animal shelter and this is my first real website. Thank you so much for any help you can provide.

    Peggy

    #1069558
    Geoff
    Member

    Hey there, Peggy–welcome back to the forums!

    No need to apologize whatsoever! I know not everyone is a developer and tossing code around in forum threads and tutorials can be dizzying to say the least. šŸ™‚

    You should be able to copy and paste this snippet into your theme’sĀ functions.php file:

    /**
    * Move RSVP Tickets form in events template
    */
    if (class_exists('Tribe__Tickets__RSVP')) {
    remove_action( 'tribe_events_single_event_after_the_meta', array( Tribe__Tickets__RSVP::get_instance(), 'front_end_tickets_form' ), 5 );
    add_action( 'tribe_events_single_event_before_the_content', array( Tribe__Tickets__RSVP::get_instance(), 'front_end_tickets_form' ), 5 );
    }

    That will move the RSVP form above the event content. Let me know if that doesn’t do the trick for some reason and we can go from there. šŸ™‚

    Cheers!
    Geoff

    #1080776
    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 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Moving the RSVP section to the top’ is closed to new replies.