Home › Forums › Ticket Products › Eventbrite Tickets › How to move Eventbrite tickets from sidebar to the post body?
- This topic has 5 replies, 3 voices, and was last updated 8 years, 5 months ago by Support Droid.
-
AuthorPosts
-
October 16, 2015 at 9:37 am #1015334Patrick HaleyParticipant
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!
October 16, 2015 at 10:00 am #1015350Patrick HaleyParticipantI 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.
October 16, 2015 at 1:25 pm #1015415BrianKeymasterHi,
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
October 16, 2015 at 2:59 pm #1015457Patrick HaleyParticipantThat one appears to be the exact code I’m already using.
October 19, 2015 at 7:47 am #1015810BrianKeymasterOh 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
November 3, 2015 at 6:05 am #1021187Support DroidKeymasterThis 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. -
AuthorPosts
- The topic ‘How to move Eventbrite tickets from sidebar to the post body?’ is closed to new replies.