Tickets form on top and bottom.

Home Forums Ticket Products Event Tickets Plus Tickets form on top and bottom.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #952047
    josiah
    Participant

    I read the post from back in January called: “Tickets “Buy it Now Button” or move ticket options to top of the page”.
    I would like the tickets form to be on both the top and bottom of the page.

    The solution given in the older post was to follow the directions here: https://theeventscalendar.com/knowledgebase/moving-the-ticket-form/

    Unfortunately these instructions do not include how to add it to the top and the bottom of the event description.

    How do I do this? I don’t want to simply move it from the bottom to the top but have it both on the top and the bottom.

    Even better would be a shortcode that allowed me to place it anywhere I like.

    Thank you in advance,
    Josiah

    #952072
    Barry
    Member

    Hi Josiah,

    Interesting question!

    Essentially you would follow the same tutorial, but within the snippets you use simply exclude those lines beginning with remove_action … does that work for you?

    #952075
    josiah
    Participant

    That worked. Using this code I now have the ticket purchase form above and below my event description.

    if (class_exists('TribeWooTickets')) {
      add_action( 'tribe_events_single_event_before_the_content', array( TribeWooTickets::get_instance(), 'front_end_tickets_form') );
    }

    Thank you!

    #952089
    Barry
    Member

    My pleasure 🙂

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Tickets form on top and bottom.’ is closed to new replies.