LBell
Forum Replies Created
-
@splntrdhands That’s frustrating. If it doesn’t work on default theme with no plugins, then it has to be something with either how you’ve constructed the shortcode, or with the Google API settings. Check the tips here: https://wordpress.org/support/topic/google-api-settings-and-things-to-check/ and let us know if you find the culprit!
Forum: Plugins
In reply to: [Pretty Google Calendar] Time Zone IssueJust checking to see if this issue has been resolved.
@splntrdhands Including switching themes? If so, then the problem is most likely your Google API settings. (Also make sure to clear you cache between changes.)
There have been some isolated reports of a theme causing the plugin to fail based on how they load javascript or the DOM.
Frustrating. Waiting on Patchstack to give access to the actual report so we’re not just facing phantoms…
Forum: Plugins
In reply to: [Pretty Google Calendar] Define breakpoint?That’s the place to change it: Line 118 of helpers.js.
Makes sure you clear your browser cache (and any WordPress caches) before you reload.
It seems this could be a good candidate for a shortcode parameter: https://github.com/lbell/pretty-google-calendar/issues/50
Also, are you running any WordPress “Security” plugins? Apparently a very unlikely to be exploited vulnerability was flagged in PGC that might be causing some security plugins to block it.
Hmm. Thanks for the heads up. We’ll look into that.
The full report states in part, “…this makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.”
This means if a ‘Contributor‘ adds malicious code into the shortcode arguments, and then an ‘Editor‘ or above publishes that post, that code could be run. https://wordpress.org/documentation/article/roles-and-capabilities/
In short, for an exploit to occur, a bad actor would need back-end access to the site. Hence, Patchstack (where Wordfence got the heads up from) states: “This security issue has a low severity impact and is unlikely to be exploited.”
I have tried all the steps on the trouble-shooting links that you sent. Still loadingβ¦.
Including switching themes? If so, then the problem is most likely your Google API settings. (Also make sure to clear you cache between changes.)
- This reply was modified 2 years ago by LBell.
Forum: Plugins
In reply to: [Pretty Google Calendar] Hide past dates from list viewThis could be done via the
validRangeargument (https://fullcalendar.io/docs/validRange) argument in FullCalender. If you want to add that directly to the code it should work (you’d be looking forpgcalDefaultson line 56 of pgcal.js).Note: this will get overwritten with any plugin updates.
If you’d like to see this feature added, please submit a ticket here: https://github.com/lbell/pretty-google-calendar/issues
Forum: Plugins
In reply to: [Pretty Google Calendar] How to call code snippet from PHPYup, the single-double quote thing in an
echocan be annoying. Glad you got it sorted!Forum: Plugins
In reply to: [Pretty Google Calendar] Tippy Styling Per CalendarGood idea! This should be feasible, but would take a little digging. Mind submitting a feature request:
@ejnash There is now a space in the locale. Also be sure you are using straight quotes
"and not curly quotesβin your shortcode. And just to be sure, you have replacedmycalendarID@group.calendar.google.comwith your actual calendar ID correct?@splntrdhands and @ejnash: Please make sure you have followed the trouble-shooting steps here: https://wordpress.org/support/topic/events-not-showing-try-these-first/
Forum: Plugins
In reply to: [Pretty Google Calendar] How to call code snippet from PHPTo call any shortcode via a php template file, you need to use
do_shortcode()like so:<?php echo do_shortcode("[your_shortcode]"); ?>You have a
,where you should have a"after dayGridMonth πLooks like you may have an invalid locale string in your shortcode.
Can you share your full shortcode arguments?