Thread Starter
ictsl
(@ictsl)
Hi,
I have managed to change the date format, but still got the issue of the homepage only showing 1 day at a time on desktop yet on mobile it shows 7 days, this is the shortcode used (https://www.riverside.essex.sch.uk/home)
[pretty_google_calendar gcal=”riversideprimary.co.uk_ID@group.calendar.google.com” list_type=”custom” custom_days=”7″ views=”listCustom” enforce_listview_on_mobile=”true” show_today_button=”false” show_title=”false” initial_view=”list” no_link=”true” locale=”en-GB”]
Also, on my main calendar page (https://www.riverside.essex.sch.uk/calendar/) I have the following shortcode [pretty_google_calendar gcal=”riversideprimary.co.uk_ID@group.calendar.google.com” show_today_button=”false” locale=”en-GB” views=”GridMonth” enforce_listview_on_mobile=”true”] but in mobile view it does not show in a list.
-
This reply was modified 1 year, 10 months ago by
ictsl.
Plugin Author
LBell
(@lbell)
Howdy!
Glad you got the date format sorted.
For the first one, try initial_view="listCustom". You should also remove the list_type argument as it defaults to listCustom and there is no list type called just custom. And you don’t need the enforce_listview_on_mobile as that default to “true”.
For the second, you can remove both the views and the enforce_listview_on_mobile arguments, as the defaults should set up what you need. (It is switching to list as I’m looking at it, FWIW).
Enjoy!
Plugin Author
LBell
(@lbell)
Marking this as resolved.