Support » Plugin: The Events Calendar » Change the link to “all events”

  • Resolved ofrfr

    (@ofrfr)


    Hello together,

    i hope someone can help me here. I try to change the href which links from a single event to the all events default page. I made a custom Eventsoverview but when i am in the single Event there is a link at the top which refes to the default “events” page by the Plugin. If i change the Permalink in the Settings, the plugin overwrites my custom page with his default page…
    So i still want to have that “all events” link in the single Event but it should link to my custom events page instead of the default page.

    I hope someone is able to help me.

    Thanks and lots of greetings.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Something like

    add_filter( 'tribe_get_events_link', function() {
        if (is_single())
            return 'http://example.com';
    } );
    Plugin Support Jaime

    (@jaimemarchwinski)

    Hey there! This thread has been inactive for a while so we’re going to go ahead and mark it Resolved. Please feel free to open a new thread if any other questions come up and we’d be happy to help. 🙂

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.