Remove "View All Events" link from Advanced List Load Widget

Home Forums Calendar Products Events Calendar PRO Remove "View All Events" link from Advanced List Load Widget

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #31887
    Cameron
    Participant

    I’m trying to get the “View All Events” link off my widget. I’m not sure where it’s being generated. I’ve tried searching in events-advanced-list-load-widget-display.php, but the find feature is coming up blank when I look for “dig-in” (the div class name) or “View All Events” (the anchor text).

    #31900
    Jonah
    Participant

    Hi Cameron,

    The easiest way is going to be to just hide this using CSS by adding the following to your theme’s style.css file:

    .dig-in {
    display: none;
    }

    Does that help?

    – Jonah

    #31906
    Cameron
    Participant

    What’s a harder way? I want to know where it’s coming from.

    #31908
    Cameron
    Participant

    I found it in the-events-calendar/lib/widget-list-class.php and removed it. My change will be overwritten every time there’s an update, correct?

    #31911
    Jonah
    Participant

    Hey Cameron, there’s a better way to do it so that your changes are not overwritten, check out this tutorial I wrote: https://theeventscalendar.com/how-to-completely-customize-widgets/

    – Jonah

    #938364
    melody1204
    Participant

    I am trying to remove the “View All Events” from the widget and the above code is not working for me. Is there something else I could try?

    #938366
    melody1204
    Participant

    Nevermind my question… I found the updated code on a newer thread.

    #938449
    Brian
    Keymaster

    Hi melody1204,

    Glad you figured it out. I am closing this thread as it is over 2 years old and the List Widget has changed since then, but if you have any other issues related to this or something new, please create a new one. And for future reference it is always best to create a new thread for your questions or issues so we can give you our full attention, but we will always help out no matter where you post in the forum.

    Thanks

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Remove "View All Events" link from Advanced List Load Widget’ is closed to new replies.