View Calendar link does not work

[ad_1]

Hi Felix,

Thank you for reaching out.

Kindly try the custom snippet below to change the “View Calendar” link. You can either append this to your theme’s functions.php file or by using a 3rd-party code editor like Code Snippets.

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'] = 'https://next.pfadi.sh/url-to-your-widget-calendar';
	}
	return $template_vars;
}, 20, 2 );

Dear Tristan

Your proposed solution worked. Thank you very much!

Kind regards, Felix

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer