How to move Eventbrite tickets from sidebar to the post body?

Home Forums Ticket Products Eventbrite Tickets How to move Eventbrite tickets from sidebar to the post body?

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1015334
    Patrick Haley
    Participant

    New user here. As you can see on http://www.bcsprosoft.com/event/test-1/, my Eventbrite tickets are showing up at the bottom of the sidebar on my event pages. Is there a simple setting that I am missing or is this something I’ll need to do manually in the .php files?

    If I do need to manually make these changes, I’m by no means a php expert, but I can navigate around it pretty comfortably. Can you tell me which files I’ll need to access, which lines of text I will need to copy, and where I’ll need to paste them to?

    Thanks!

    #1015350
    Patrick Haley
    Participant

    I partially solved my own problem here thanks to this link I found in the Primer: https://theeventscalendar.com/knowledgebase/moving-the-eventbrite-tickets-box/

    I managed to get the ticket box to appear fter the content section by using this code: add_action( 'tribe_events_single_event_after_the_content', $display_tickets );

    What would I need to change it to in order to get the box to display just above the Google Calendar and iCal buttons?

    • This reply was modified 8 years, 6 months ago by Patrick Haley.
    #1015415
    Brian
    Keymaster

    Hi,

    Thanks for using our plugins I can help out here.

    Glad you found that one article.

    Try out this snippet to get it where you like:

    add_action( 'tribe_events_single_event_after_the_content', $display_tickets );

    Let me know if that is in the right spot.

    Thanks

    #1015457
    Patrick Haley
    Participant

    That one appears to be the exact code I’m already using.

    #1015810
    Brian
    Keymaster

    Oh my bad I was getting ready for the weekend.

    Here is some hooks from the single template:

    tribe_events_single_event_before_the_content

    tribe_events_single_event_before_the_meta

    tribe_events_single_event_after_the_meta

    You can also try changing the priority of the hook too.

    You can find more hooks on the single template itself:

    plugins/the-events-calendar/src/views/single-event.php

    #1021187
    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 6 posts - 1 through 6 (of 6 total)
  • The topic ‘How to move Eventbrite tickets from sidebar to the post body?’ is closed to new replies.