Moving tickets to top of event page

Home Forums Ticket Products Event Tickets Plus Moving tickets to top of event page

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #1077112
    bradystarr
    Participant

    Hello, I have the same issue as this other topic: https://theeventscalendar.com/support/forums/topic/moving-the-rsvp-section-to-the-top/

    I just added the code to my functions.php file, but tickets are still displayed at the bottom of events. Am I doing something wrong? Here is an example: http://pubandpaint.com/event/ravens-friday-night-at-jrs-public-house-2/

    Here is my functions.php file:
    <?php
    /**
    * Flatsome functions and definitions
    *
    * @package flatsome
    */

    require get_template_directory() . ‘/inc/init.php’;

    /**
    * Note: Do not add any custom code here. Please use a child theme so that your customizations aren’t lost during updates.
    * http://codex.wordpress.org/Child_Themes
    */

    /**
    * 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 );
    }

    #1077527
    Nico
    Member

    Hey Braddy,

    Thanks for reaching out! I’ll help you with this issue πŸ™‚

    The code you are using is for RSVP ‘tickets’, but from what I see on your site you are using WooCommerce with Event Tickets Plus. Hopefully we also have a knowledge base article for that too: Moving the Tickets Plus form.

    Please give that a try and let me know,
    Best,
    Nico

    #1080279
    bradystarr
    Participant

    Thanks Nico,
    Since this will be my first edit into the css, I just figured out how to create a child theme and got it activated fine. I’m sorry for being a little unfamiliar, but now that I’m using a child theme, I do not seem to have a functions.php file. In fact, all I have is my blank style.css. I’m having a hard time finding the next step, can you provide me with any more info?
    Brady

    #1080287
    bradystarr
    Participant

    Hi Nico,
    I figured it out! I created a new functions.php file and just added the snippet from the link you provided. Thanks so much πŸ™‚

    #1080654
    Nico
    Member

    Thanks for following up Brady!

    Glad you could figure it out πŸ™‚

    I’ll go ahead and close out this thread, but if you need help with anything else please don’t hesitate to create a new one and we will be happy to assist you.

    Best,
    Nico

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Moving tickets to top of event page’ is closed to new replies.