• Resolved marco.steinhaeuser

    (@marcosteinhaeuser)


    To remove the internal link to venues in event listing, I didn’t find an option to do that via template as eo-loop-single-event.php directly calls eo_get_event_meta_list() method. So I had to directly remove the link from wp-content/plugins/event-organiser/includes/eo-loop-single-event.php L#1543:
    <li><strong>%s:</strong> <!--<a href="%s"> //-->
    Now wondering how to get that change update-proof (accept from documentation ^^).

Viewing 2 replies - 1 through 2 (of 2 total)
  • Just spotted this question while looking for something else.

    eo_get_event_meta_list() calls
    apply_filters( ‘eventorganiser_event_meta_list’, $html, $event_id )

    So you can add a filter to your functions.php to find and remove the first ‘a’ tag and its closing tag from the supplied $html.

    Andy

    Thread Starter marco.steinhaeuser

    (@marcosteinhaeuser)

    Thanks alot, @andyhenderson! This is a cool hack to resolve this issue. However it would be cleaner one could do that in a template file, as it is just a _view_ ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to get an alteration in includes/ update proof?’ is closed to new replies.