I would like to be able to call the current date into the shortcode so that i can make the initialDate for the dayGridYear to start at the current month rather than on Jan 1. Makes it much nice for people to not have to scroll past the completed months. Here is an example of the code i’d like to use….
[pretty_google_calendar gcal=""
use_tooltip="true" show_title="true" views="listDay,dayGridMonth,dayGridYear"
custom_list_button="Today"
initial_view="listDay"
fc_args="{
"listDayFormat": { "month": "long", "year": "numeric",
"day": "numeric", "weekday": "long" },
"buttonText": { "list": "Day", "month": "Month", "dayGridYear": "Year" }, "headerToolbar": { "center": "listDay,dayGridMonth,dayGridYear","start": "title", "end": "today prev,next" }, "initialDate": "" . date('Y-m-d') . '" }'
]
