I have the same question – need a way to set default view to list using Pretty Google Calendar. Tried using Google Calendar List View plugin, but it strips out Pretty Google Calendar formatting. Maybe I’m missing something? Thanks
Plugin Author
LBell
(@lbell)
Howdy! Try the initial_view
argument in the shortcode:
list_type="listCustom"
to get the default list view of the plugin which shows the next 28 days.
Hi LBELL!
Tried that [pretty_google_calendar gcal=”bilfotball1917@gmail.com” locale=”no” list_type=”listCustom”]
It does change nothing. I don’t have a list, but normal calendar.
Also, is it possible to change so they don’t have to go to Google if they click on the even? I saw on screenshots from the plugin that you could hover over the event and it came up information.
In case I am not understood (english not my first language), what I mean is that I want my calendar to show as a List instead of the default, which is month.
—-
Update: It has default list view on iPhone as far as I can see, which is nice. But normal calendar view as default on PC, which is weird.
My code: [pretty_google_calendar gcal=”bilfotball1917@gmail.com” locale=”no” views=”dayGridMonth, listCustom”]
-
This reply was modified 1 year, 1 month ago by omally007.
-
This reply was modified 1 year, 1 month ago by omally007.
Plugin Author
LBell
(@lbell)
Sorry, I mis-typed my answer. Add this to your shortcode:
initial_view="listCustom"
It is different on mobile vs desktop by design, since the screen on mobile is typically too small for the grid calendar.
It worked!
Thanks for the reply mr developer sir 🙂