Remove – "+ICAL IMPORT LISTED EVENT"

Home Forums Calendar Products Events Calendar PRO Remove – "+ICAL IMPORT LISTED EVENT"

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #144371
    jouvertrecords
    Participant

    I need to remove the words – Remove – “+ICAL IMPORT LISTED EVENT”
    Please tell me what file – PHP,CSS that contains this string, so I can
    remove it. Vistors to the site are asking what this is all about.
    I would like to remove this line please.

    #144473
    Casey D
    Member

    Hello jouvertrecords,

    Thanks for contacting us!

    Here is a tutorial that should help you do exactly that! https://tri.be/removing-the-ical-import-button-from-month-and-list-views-in-pro/

    Does it make sense? Let me know if this doesn’t work for you.

    Cheers!

    – Casey Driscoll

    #144487
    jouvertrecords
    Participant

    This information does not still answer the question
    as to how do you remove the message from appearing.
    I checked the function.php to see how to remove it and
    cannot see anything that reference what was being instructed how to do this.

    #144620
    Casey D
    Member

    Sorry for the confusion, jouvertrecords.

    If you open your theme’s functions.php file and add these lines at the top (right below the <?php line), it should go away.

    add_action('tribe_events_before_template', 'remove_ical_from_list_view');
    
    function remove_ical_from_list_view() {
    if (tribe_is_event_query() && tribe_is_list_view())
    remove_filter('tribe_events_after_footer', array('TribeiCal', 'maybe_add_link'), 10, 1);
    }

    Does this make sense? Let me know if this doesn’t work for you.

    Cheers!

    – Casey Driscoll

    #159440
    Casey D
    Member

    Hello jouvertrecords,

    We typically close threads if there is no activity after two weeks. Feel free to create a new thread and reference this one to save you time.

    Cheers!

    – Casey Driscoll

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Remove – "+ICAL IMPORT LISTED EVENT"’ is closed to new replies.