If you’re using The Events Calendar or Events Calendar Pro, you may see a “View Calendar” link at the bottom of the event widgets like:
- [tribe_events_list]
- [tribe_mini_calendar]
This link takes users to the full calendar page, but you might want to remove it for a cleaner layout or specific user flow.
Option 1: Hide the Link Using PHP
You can completely disable the link using a PHP snippet. Add the following code to your theme’s functions.php file or through a plugin like Code Snippets:
add_filter( 'tribe_template_pre_html:events/v2/widgets/widget-events-list/view-more', '__return_false' );
add_filter( 'tribe_template_pre_html:events-pro/v2/widgets/shortcodes/components/view-more', '__return_false' );
What This Does
These filters disable the output of the view-more template component for:
- The Events List Widget (
[tribe_events_list]) - The Mini Calendar Widget (
[tribe_mini_calendar])
This method removes the link from the HTML entirely, so it won’t be rendered on the frontend.
Option 2: Hide the Link Using CSS
If you’d rather keep the markup and just visually hide the link, you can use this CSS snippet instead:
.tribe-events-widget-events-month__view-more,
.tribe-events-widget-events-list__view-more {
display: none !important;
}
How to Use
You can add the CSS code in one of the following ways:
- Via Customizer: Appearance → Customize → Additional CSS
- In your theme or child theme’s
style.cssfile - Through a custom CSS plugin
Which Option Should You Use?
- Use PHP if you want to remove the link from the DOM entirely (cleaner code output).
- Use CSS if you prefer a non-invasive method that only affects the visual display.
Both options will prevent the “View Calendar” link from appearing at the bottom of the [tribe_events_list] and [tribe_mini_calendar] shortcodes.