Home › Forums › Ticket Products › Event Tickets Plus › One Page Navigation
- This topic has 10 replies, 2 voices, and was last updated 8 years, 9 months ago by
Greg.
-
AuthorPosts
-
June 19, 2017 at 3:37 am #1299888
Greg
ParticipantHi,
I have created an event info page. At the bottom the user can purchase tickets using Event Tickets Plus. At the top I have a “register now” button that I want to automatically scroll them to the ticket purchasing section of the page. Normally for on page navigation, I just inspect the element and find the corresponding div id= x-section-#. How do I link to the event tickets plus portion of the page so that when the user clicks the button it scrolls down?
June 20, 2017 at 8:51 pm #1300892Cliff
MemberHi, Greg.
Please try the #buy-tickets selector on the single event page.
Please let me know how this goes for you.
June 21, 2017 at 5:06 am #1300964Greg
ParticipantThis didn’t work.
June 21, 2017 at 12:52 pm #1301289Cliff
MemberSorry to hear that, Greg. That’s the ID that is included by default but you may have a theme or some other override that changed this default.
Please provide a link to one of your upcoming events where tickets are displayed.
June 21, 2017 at 1:08 pm #1301298June 21, 2017 at 1:53 pm #1301336Greg
ParticipantPlease disregard that link, I had to update the permalink. This is the active one now. https://tin100.com/events/tintalk-lure-us-auckland/
June 21, 2017 at 1:53 pm #1301338Cliff
MemberI confirmed that anchor isn’t in your page.
This is the function that adds that anchor: https://github.com/moderntribe/event-tickets/blob/4.4.10/src/Tribe/Main.php#L417-L424
This is where that function is used: https://github.com/moderntribe/event-tickets/blob/4.4.10/src/Tribe/Tickets.php#L366
Whatever your custom code or theme overrides are, maybe you should add that function.
Please let me know how this goes for you.
June 21, 2017 at 2:35 pm #1301361Greg
ParticipantCan you please give me some more info about where and how I add that function?
June 21, 2017 at 2:52 pm #1301368Cliff
MemberUnfortunately, I really cannot because I’m not sure what part of your site is causing this to not be included.
I’d start by switching themes to a WordPress default theme like Twenty Fifteen, Twenty Sixteen, Twenty Seventeen, etc. and then see if the #buy-tickets is then present.
July 13, 2017 at 9:35 am #1320635Support Droid
KeymasterHey there! This thread has been pretty quiet for the last three weeks, so we’re going to go ahead and close it to avoid confusion with other topics. If you’re still looking for help with this, please do open a new thread, reference this one and we’d be more than happy to continue the conversation over there.
Thanks so much!
The Events Calendar Support Team -
AuthorPosts
- The topic ‘One Page Navigation’ is closed to new replies.
