LBell
Forum Replies Created
-
Forum: Plugins
In reply to: [Pretty Google Calendar] Does the plugin cache the API responseNo caching.
And as the data fetch is handled by FullCalendar, it would take some pretty fancy footwork to implement. Conceivably, we could do the Google call in house, and feed Fullcalendar a cached JSON of this, but not likely something this plugin would handle anytime soon.
You’re welcome to open a feature request here: https://github.com/lbell/pretty-google-calendar/issues
Forum: Plugins
In reply to: [Pretty Google Calendar] How to disable next and previous buttonsIt would be easier if you could share a link to the page in question.
Forum: Plugins
In reply to: [Pretty Google Calendar] How to disable next and previous buttonsHowdy!
You can do it with CSS something like:
.fc-next-button, .fc-prev-button {display: none;}I haven’t tested this, so your mileage may vary.
Forum: Plugins
In reply to: [Pretty Google Calendar] API Key in ConsoleThanks for the catch. Fixed. Please update to v1.7.2
Closing due to insufficient information.
Forum: Plugins
In reply to: [Pretty Google Calendar] 24h timeTry the shortcode argument:
locale = 'en-GB'. (Or whatever locale). That should put it into the default format for that locale.Forum: Plugins
In reply to: [Pretty Google Calendar] Color different calendarsMarking this as closed. If you need further support, please open another thread.
Howdy! I’d need to see the page you’re having trouble with to offer any suggestions. Thanks!
Forum: Plugins
In reply to: [Pretty Google Calendar] Color different calendarsIt would help to be able to see the page you’re having issue with. But two possible solutions:
- Are you displaying 6 calendar feeds in one calendar? Than you can use the
.pgcal-event-#class(es) to style each feed. - Are you displaying 6 different calendars on one page? Than you can use the argument
id_hash='myhash'in each shortcode to assign a permanent unique hash to each calendar. Then you can use#pgcalendar-myhashto style that particular calendar.
I’d recommend using your themes custom CSS or a custom CSS plugin to make tweaks. Altering the CSS shouldn’t prevent calendar load (unless you use something like
display:none;of course 😉Forum: Plugins
In reply to: [Pretty Google Calendar] Add year to list viewSure is! Use the (experimental) shortcode argument “fc_args” to change the “listDayFormat” like so:
fc_args='{"listDayFormat": {"month": "long", "year": "numeric", "day": "numeric", "weekday": "long"}}'Learn more about the argument here: https://fullcalendar.io/docs/listDayFormat
Forum: Plugins
In reply to: [Pretty Google Calendar] Change starting dayHi @andreaapx – it looks like you’re working with a different plugin. The shortcode
[ECFG_calender_events]is not associated with this plugin.Forum: Plugins
In reply to: [Pretty Google Calendar] Optional Event PopoverHowdy! It’s now controlled by the
use_tooltip="true"short-code argument.Forum: Plugins
In reply to: [Pretty Google Calendar] Change starting dayNice! For others who want to change the start day, but don’t use English, the
fc_args='{"firstDay":"1"}'should work, where 0 = Sunday, 1 = Monday, 2 = Tuesday, etc.Forum: Plugins
In reply to: [Pretty Google Calendar] Add Subscribe buttonHowdy! This functionality is not included in the calendar to keep things simple. However, you can easily add a link just above or below the shortcode directly on the page where the calendar is being displayed.
Forum: Plugins
In reply to: [Pretty Google Calendar] List view on Desktop? - Are you displaying 6 calendar feeds in one calendar? Than you can use the