One Page Navigation

Home Forums Ticket Products Event Tickets Plus One Page Navigation

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #1299888
    Greg
    Participant

    Hi,

    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?

    #1300892
    Cliff
    Member

    Hi, Greg.

    Please try the #buy-tickets selector on the single event page.

    Please let me know how this goes for you.

    #1300964
    Greg
    Participant

    This didn’t work.

    #1301289
    Cliff
    Member

    Sorry 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.

    #1301298
    Greg
    Participant
    #1301336
    Greg
    Participant

    Please disregard that link, I had to update the permalink. This is the active one now. https://tin100.com/events/tintalk-lure-us-auckland/

    #1301338
    Cliff
    Member

    I 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.

    #1301361
    Greg
    Participant

    Can you please give me some more info about where and how I add that function?

    #1301368
    Cliff
    Member

    Unfortunately, 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.

    #1320635
    Support Droid
    Keymaster

    Hey 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

Viewing 10 posts - 1 through 10 (of 10 total)
  • The topic ‘One Page Navigation’ is closed to new replies.