Looking for instructions on how to switch the calendar view to list view AUTOMATICALLY when viewing on mobile.
I know the calendar works on mobile, but the list view is a better user experience.
I have tried copying the calendar theme mobile file (views/month/mobile.php) into my theme for modification, and pasting in list view code, but that’s not really working as the list view code is spread out over a couple of files.
A search did turn up this:
if( wp_is_mobile() ) {
wp_redirect( tribe_get_upcoming_link() );
}
?>
but that did nothing – perhaps I’m putting it in the wrong spot?
-
This topic was modified 6 years, 10 months ago by robotor.
-
This topic was modified 6 years, 10 months ago by robotor.