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: 2589
    | 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% »‘ ) ?>

You must be logged in and hold an active support license to create new topics in the help desk. Please visit our products store to purchase a license.

Subscribe to Updates