List view on Mobile
-
Hi,
Since the latest update the list view on mobile does not work. Heres the snippet I was using:
/* * The Events Calendar - Redirect Mobile Users to List View * @version 3.9 * * @link https://theeventscalendar.com/support/forums/topic/forcing-list-view-on-mobile-only/ */ add_action( 'template_redirect', 'tec_mobile_template_redirect' ); function tec_mobile_template_redirect() { if( tribe_is_month() && wp_is_mobile() ) { wp_redirect( tribe_get_listview_link() ); exit(); } }
Thanks
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘List view on Mobile’ is closed to new replies.