Help Desk

How to remove Previous/Next Navigation links

  • Posts: 4 Topics: 5
    | Permalink

    Hello, I can’t seem to find the way to remove the other event links that are found at the top of the event listings. Our users find them confusing. Is there a simple on/off option?

    Thank you

    Posts: 5027
    | Permalink

    Hi Clay!

    There is not an option in the settings to turn this off, but you can remove them by editing the single-event.php template found at wp-content/plugins/the-events-calendar/src/views – our themer’s guide has instructions on editing templates.

    In your copy, you’ll want to remove this from the “Event header” section:

    • < ?php tribe_the_prev_event_link( '« %title%’ ) ?>
    • < ?php tribe_the_next_event_link( '%title% »‘ ) ?>

    Posts: 65
    | Permalink

    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

    | Permalink

The topic ‘How to remove Previous/Next Navigation links’ is closed to new replies.