lisadavies

Forum Replies Created

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • in reply to: Date format is the wrong way round #91995
    lisadavies
    Participant

    Hi Julie, thanks for the reply but which page and which code do I customise? I have gone into the index.php file where the code is ‘j m’ etc but that hasn’t made any difference.

    in reply to: Hiding the iCal import bar on the events page #77793
    lisadavies
    Participant

    Morning! I couldn’t log in the other day so couldn’t reply. Just wanted to say that your advice above worked. It’s looking fab now, so once again thank you!

    in reply to: Hiding the iCal import bar on the events page #76593
    lisadavies
    Participant

    Can I just double check with you that we are on the same wavelength? The import bar does not appear on the current month which is what I wanted. However, the import bar appears on the previous and next months which is what I didn’t want but like I said, it’s not a big problem if it can’t be resolved.

    Thanks!

    in reply to: Hiding the iCal import bar on the events page #76592
    lisadavies
    Participant

    Hi, thanks for the reply. I’ve had another look and realise why I thought it worked before and it doesn’t now. When I was testing it the last time, the import bar didn’t appear at all but I think that was because there were no events in the calendar so it seems to appear only when there are events in the calendar. Is that right and is that supposed to work like that?

    It’s not a big problem so it’s fine if it can’t be resolved. I just think it’s a bit strange for people to import the calendar in the previous month if they have already happened – do you know what I mean?

    Anyway, thanks for all your help with this!

    in reply to: Hiding the iCal import bar on the events page #76387
    lisadavies
    Participant

    Hi, thanks for the reply. Not used Gist or Pastebin before so was confused with it but think I’ve done it. I’m not sure how I should share the link to show you the code but think this is it: http://pastebin.com/TuP3wJCu. Hope you are able to access. Let me know if otherwise.

    Thanks

    in reply to: Hiding the iCal import bar on the events page #76170
    lisadavies
    Participant

    Hi, thanks for the reply. I confirm that the snippet is still present in my theme’s functions.php file (see below excerpt extracted from the file). I can also confirm that I did not update the theme nor the child theme. I believe I only updated the relevant plugins including the Event calendar and the catergory colours etc. Does this help?

    Thanks

    <?php //
    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);
    }

    add_action('tribe_events_before_template', 'remove_ical_from_month_view');

    function remove_ical_from_month_view() {
    if (tribe_is_event_query() && tribe_is_month())
    remove_filter('tribe_events_after_footer', array('TribeiCal', 'maybe_add_link'), 10, 1);
    }

Viewing 6 posts - 1 through 6 (of 6 total)