Display list view for mobile devices
-
I’m trying to use
wp_is_mobile
within The Events Calendar, when viewed on a mobile device, to display the list view for events, rather than the default month view, since I know it will render better.Within the views/month.php file I’m using
wp_is_mobile
, and it seems to work in the sense that, on mobiles, it shows the list view, but the content of the list is for December 2014 events.Any idea what is happening? Is there a way I can implement this so it will work, perhaps in the default template? Or what would work better?
Viewing 8 replies - 1 through 8 (of 8 total)
Viewing 8 replies - 1 through 8 (of 8 total)
- The topic ‘Display list view for mobile devices’ is closed to new replies.