{"id":1966140,"date":"2025-08-18T07:11:30","date_gmt":"2025-08-18T11:11:30","guid":{"rendered":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/?p=1966140"},"modified":"2025-08-18T07:11:38","modified_gmt":"2025-08-18T11:11:38","slug":"how-to-hide-the-view-calendar-link-in-the-events-calendar-list-and-mini-calendar-widgets","status":"publish","type":"post","link":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/how-to-hide-the-view-calendar-link-in-the-events-calendar-list-and-mini-calendar-widgets\/","title":{"rendered":"How to Hide the \u201cView Calendar\u201d Link in The Events Calendar List and Mini Calendar Widgets"},"content":{"rendered":"\n<p>If you&#8217;re using <strong>The Events Calendar<\/strong> or <strong>Events Calendar Pro<\/strong>, you may see a <strong>\u201cView Calendar\u201d<\/strong> link at the bottom of the event widgets like:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>[tribe_events_list]<\/li>\n\n\n\n<li>[tribe_mini_calendar]<\/li>\n<\/ul>\n\n\n\n<p>This link takes users to the full calendar page, but you might want to remove it for a cleaner layout or specific user flow.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-option-1-hide-the-link-using-php\">Option 1: Hide the Link Using PHP<\/h2>\n\n\n\n<p>You can completely disable the link using a PHP snippet. Add the following code to your theme&#8217;s <code>functions.php<\/code> file or through a plugin like <strong><a href=\"https:\/\/wordpress.org\/plugins\/code-snippets\/\">Code Snippets<\/a><\/strong>:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>add_filter( 'tribe_template_pre_html:events\/v2\/widgets\/widget-events-list\/view-more', '__return_false' );\nadd_filter( 'tribe_template_pre_html:events-pro\/v2\/widgets\/shortcodes\/components\/view-more', '__return_false' );<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-what-this-does\" style=\"font-size:25px\"><strong>What This Does<\/strong><\/h3>\n\n\n\n<p>These filters disable the output of the <strong>view-more<\/strong> template component for:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>The <strong>Events List Widget<\/strong> (<code>[tribe_events_list]<\/code>)<\/li>\n\n\n\n<li>The <strong>Mini Calendar Widget<\/strong> (<code>[tribe_mini_calendar]<\/code>)<\/li>\n<\/ul>\n\n\n\n<p>This method removes the link from the HTML entirely, so it won\u2019t be rendered on the frontend.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-option-2-hide-the-link-using-css\">Option 2: Hide the Link Using CSS<\/h2>\n\n\n\n<p>If you&#8217;d rather keep the markup and just visually hide the link, you can use this CSS snippet instead:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>.tribe-events-widget-events-month__view-more,\n.tribe-events-widget-events-list__view-more {\n    display: none !important;\n}<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-how-to-use\" style=\"font-size:25px\"><strong>How to Use<\/strong><\/h3>\n\n\n\n<p>You can add the CSS code in one of the following ways:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Via <strong>Customizer<\/strong>: Appearance \u2192 Customize \u2192 Additional CSS<\/li>\n\n\n\n<li>In your theme or child theme\u2019s <code>style.css<\/code> file<\/li>\n\n\n\n<li>Through a custom CSS plugin<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-which-option-should-you-use\">Which Option Should You Use?<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Use PHP<\/strong> if you want to remove the link from the DOM entirely (cleaner code output).<\/li>\n\n\n\n<li><strong>Use CSS<\/strong> if you prefer a non-invasive method that only affects the visual display.<\/li>\n<\/ul>\n\n\n\n<p>Both options will prevent the \u201cView Calendar\u201d link from appearing at the bottom of the <code>[tribe_events_list]<\/code> and <code>[tribe_mini_calendar]<\/code> shortcodes.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you&#8217;re using The Events Calendar or Events Calendar Pro, you may see a \u201cView Calendar\u201d link at the bottom of the event widgets like: 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&#8230;<\/p>\n","protected":false},"author":48,"featured_media":1955565,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_kad_blocks_custom_css":"","_kad_blocks_head_custom_js":"","_kad_blocks_body_custom_js":"","_kad_blocks_footer_custom_js":"","_swpsp_post_exclude":false,"_kad_post_transparent":"","_kad_post_title":"","_kad_post_layout":"","_kad_post_sidebar_id":"","_kad_post_content_style":"","_kad_post_vertical_padding":"","_kad_post_feature":"","_kad_post_feature_position":"","_kad_post_header":false,"_kad_post_footer":false,"ep_exclude_from_search":false,"footnotes":""},"categories":[116,24,59,79],"tags":[23,25,58,212],"stellar-product-taxonomy":[158,161],"class_list":["post-1966140","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-css-styling","category-customizing","category-customizing-resources","category-snippets","tag-css","tag-customizations","tag-php","tag-snippets","stellar-product-taxonomy-events-calendar-pro","stellar-product-taxonomy-the-events-calendar"],"acf":[],"taxonomy_info":{"category":[{"value":116,"label":"CSS &amp; Styling"},{"value":24,"label":"Customizations"},{"value":59,"label":"PHP &amp; Functions"},{"value":79,"label":"Snippets"}],"post_tag":[{"value":23,"label":"CSS"},{"value":25,"label":"Customizations"},{"value":58,"label":"PHP"},{"value":212,"label":"snippets"}],"stellar-product-taxonomy":[{"value":158,"label":"Events Calendar Pro"},{"value":161,"label":"The Events Calendar"}]},"featured_image_src_large":["https:\/\/images.theeventscalendar.com\/kb\/uploads\/2023\/02\/social-share-1024x538.png",1024,538,true],"author_info":{"display_name":"Paul Acido","author_link":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/author\/paulacido\/"},"comment_info":0,"category_info":[{"term_id":116,"name":"CSS &amp; Styling","slug":"css-styling","term_group":0,"term_taxonomy_id":116,"taxonomy":"category","description":"","parent":24,"count":33,"filter":"raw","term_order":"0","cat_ID":116,"category_count":33,"category_description":"","cat_name":"CSS &amp; Styling","category_nicename":"css-styling","category_parent":24},{"term_id":24,"name":"Customizations","slug":"customizing","term_group":0,"term_taxonomy_id":24,"taxonomy":"category","description":"","parent":0,"count":110,"filter":"raw","term_order":"0","cat_ID":24,"category_count":110,"category_description":"","cat_name":"Customizations","category_nicename":"customizing","category_parent":0},{"term_id":59,"name":"PHP &amp; Functions","slug":"customizing-resources","term_group":0,"term_taxonomy_id":59,"taxonomy":"category","description":"","parent":24,"count":101,"filter":"raw","term_order":"0","cat_ID":59,"category_count":101,"category_description":"","cat_name":"PHP &amp; Functions","category_nicename":"customizing-resources","category_parent":24},{"term_id":79,"name":"Snippets","slug":"snippets","term_group":0,"term_taxonomy_id":79,"taxonomy":"category","description":"","parent":0,"count":136,"filter":"raw","term_order":"0","cat_ID":79,"category_count":136,"category_description":"","cat_name":"Snippets","category_nicename":"snippets","category_parent":0}],"tag_info":[{"term_id":23,"name":"CSS","slug":"css","term_group":0,"term_taxonomy_id":23,"taxonomy":"post_tag","description":"","parent":20,"count":48,"filter":"raw","term_order":"0"},{"term_id":25,"name":"Customizations","slug":"customizations","term_group":0,"term_taxonomy_id":25,"taxonomy":"post_tag","description":"","parent":0,"count":177,"filter":"raw","term_order":"0"},{"term_id":58,"name":"PHP","slug":"php","term_group":0,"term_taxonomy_id":58,"taxonomy":"post_tag","description":"","parent":20,"count":128,"filter":"raw","term_order":"0"},{"term_id":212,"name":"snippets","slug":"snippets","term_group":0,"term_taxonomy_id":212,"taxonomy":"post_tag","description":"","parent":0,"count":17,"filter":"raw","term_order":"0"}],"_links":{"self":[{"href":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/posts\/1966140","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/users\/48"}],"replies":[{"embeddable":true,"href":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/comments?post=1966140"}],"version-history":[{"count":2,"href":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/posts\/1966140\/revisions"}],"predecessor-version":[{"id":1966142,"href":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/posts\/1966140\/revisions\/1966142"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/media\/1955565"}],"wp:attachment":[{"href":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/media?parent=1966140"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/categories?post=1966140"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/tags?post=1966140"},{"taxonomy":"stellar-product-taxonomy","embeddable":true,"href":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/stellar-product-taxonomy?post=1966140"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}