[open_now] and [closed_now] don’t update with WP Rocket cache enabled
-
Hi,
First off, great free plugin, the best I’ve seen on the subject, very simple yet feature rich and powerful.
I have a problem with caching. I have the following code inside an Elementor shortcode widget :
<a href="#pratique"> [open_now]Nous sommes ouverts[/open_now] [closed_now]Nous sommes fermé actuellement[/closed_now] </a>
Basically, it simply shows either of value if the store is opened or closed. And I have a CSS rule that hides the value depending on the class (show, hide) returned by your plugin.
I use WP Rocket on my website and when caching is enabled, it seems like the shortcode is not being executed each time we reload the page, because this info don’t update.
I know this maybe a WP Rocket problem, but I wanted to check it out with you first, is there any JavaScipt being applied with these shortcodes ? Or is it simply PHP code being executed ?
What’s strange is that I never had problem with other shortcodes and WP Rocket to my knowledge.
Do you have any idea what might be causing this problem ? For now the website doesn’t cache the home page (where the text is shown, at the top of the page), but this kind of defeat the purpose of WP Rocket 🙂
Let me know, thanks !
- This topic was modified 5 months, 1 week ago by .
- This topic was modified 5 months, 1 week ago by .
- This topic was modified 5 months, 1 week ago by .
- This topic was modified 5 months, 1 week ago by .
The page I need help with: [log in to see the link]
- You must be logged in to reply to this topic.