• Resolved ictsl

    (@ictsl)


    Hi,

    How do I go about changing the date format currently like this – Friday, May 31 but I want it as Friday 31 May.

    Also, I have it set to custom list for it to show 5 days but on desktop it tends to show 1 event, on mobile it works as expected. How do I go about hiding the next and previous buttons?

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • 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=”[email protected]” 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=”[email protected]” 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 9 months, 3 weeks 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.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Change date format’ is closed to new replies.