Support » Plugin: Pretty Google Calendar » List view as default

  • Resolved omally007

    (@omally007)


    Hi!

    Not very good at this, maybe it has been explained…

    How do I set the default view to list instead of regular calendar? What shortcode to add..?

    Also: Is there a code to add that gets “Optional Event Popover” (from the screenshots for this plugin) instead of them being taken to Google to view the event?

    • This topic was modified 1 year, 1 month ago by omally007.
Viewing 6 replies - 1 through 6 (of 6 total)
  • reachercole

    (@robinkaycole58)

    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.

    Thread Starter omally007

    (@omally007)

    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.

    Thread Starter omally007

    (@omally007)

    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.

    Thread Starter omally007

    (@omally007)

    It worked!

    Thanks for the reply mr developer sir 🙂

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘List view as default’ is closed to new replies.