Support » Plugin: Event Organiser » Disable links in eo_fullcalendar

  • Resolved doralis

    (@doralis)


    I want to display an eo_fullcalendar where there is no additional information on a single event page. So it would be a bad user experience to link to those pages.

    Is it somehow possible to disable/remove all hyperlinks to these pages in eo_fullcalendar? Maybe a hook to filter the html for each event on eo_fullcalendar?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Stephen Harris

    (@stephenharris)

    You can do

    
    add_filter('eventorganiser_calendar_event_link','__return_false');
    

    (in a custom plugin or theme’s functions.php)

    but the calendar is cached, so changes will not take effect until you update an event.

    Thanks a lot, works like a charm!

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