Exclude widget output from Cache W3 Total Cache Plugin [closed]
In my wordpress theme i am using W3 Total Cache Plugin to cache the front page and all pages in general.
I am also using the plugin Timetable and Event Schedule by MotoPress to display some dynamic events on the site. This plugin is using a dynamic widget displaying some content and it is located under wp-content/themes/theme-child/mp-timetable/widgets/widget-view.php
The code of the file is here . I am trying desperately to find a way to exclude the widget output from being cached. The widgets outputs a set of <ul><li>
classes like here
In W3 Total Cache i am using page cache and browser cache + minify default options.
I already tried this idea but didn’t work. I am trying to get it working with page fragment implementation and i already did the steps that is needed (wp-config with define W3TC_DYNAMIC_SECURITY, exclude mfunc+mclude from minify, page cache:basic and so on.. ), but i am not getting correct on how i should add the <!--mfunc W3TC_DYNAMIC_SECURITY code1-->
inside the widget code.
Could someone please give me a help on that? Is there any way that i could exclude the widget-view.php from being cached.
Thank you in advace.
Leave an answer
You must login or register to add a new answer .