• Resolved kathyjim79

    (@kathyjim79)


    Hello,

    Thank you for your plugin. It’s very well designed! I love it.

    Is it possible for you to code me a little snippet that allows me to hide the ‘View Calendar’ link at the bottom of the event calendar widget?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support tristan083

    (@tristan083)

    Hi @kathyjim79 ,

    Thank you for reaching out and we’re appreciative of your compliments with The Events Calendar plugin.

    Here’s a code snippet to remove the “View Calendar” link from the Events List Widget.

    add_filter ( 'tribe_events_views_v2_view_template_vars', function ( $template_vars, $view ) {
    if ( $view->get_view_slug() == 'widget-events-list' ) {
    $template_vars['view_more_link'] = '';
    }
    return $template_vars;
    }, 20, 2 );

    Let us know if that works for you or if you have further questions/concerns.

    Plugin Support Darian

    (@d0153)

    Hi there,

    It appears that we haven’t heard back from you in a while, so I’ll assume that the matter has been resolved. If you need any more help, feel free to start a new thread and we’ll be happy to assist you.

    Thread Starter kathyjim79

    (@kathyjim79)

    hello — so sorry I missed your reply. I appreciate your help very much!

    Sorry, where do I place this snippet? I went to put it in Custom CSS, but it’s giving me a bunch of errors. Thank you!

    Plugin Support Darian

    (@d0153)

    Hi @kathyjim79

    Apologies for the late reply.

    If you’re not familiar with coding, you can use the Code Snippets plugin, which removes the need to add custom snippets to your theme’s functions.php file.

    Feel free to let me know if you have further concerns.

    Plugin Support Darian

    (@d0153)

    Hi there,

    It seems like it has been some time since we received a response from you, therefore, I will consider this matter as resolved. If you require any further assistance, please do not hesitate to start a new thread.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Hide ‘View Calendar’ on widget’ is closed to new replies.