Hello,
Have you have cleared the cache and reset the minified files after saving the exclusions? You can do so by clicking the WP-Optimize >> Minify >> Minify status >> Reset the minified files button as per this screen shot.
I did so several times. No impact. Also, I deleted the minified JavaScript and CSS files from the Advanced tab. If I reload the page after the browser cache had been cleaned, the cookie banner does not work at all.
Purging the cache again rebuilds the minified files again, even though this should not be done as they are in the exclude list.
BTW, I test the page in a different browser to avoid conflicts with the wp admin area.
Hello,
Please could you confirm the paths you are using for all of the exclusions?
These are the exclusions I use for the Cookie plugin:
Excluded URLs (Cache Advanced Settings tab):
/wp-content/plugins/cookie-law-info/*
Excluded Javascript (Minify Javascript tab):
/wp-includes/js/jquery/jquery.js
/wp-content/plugins/cookie-law-info/public/js/cookie-law-info-public.js
Excluded CSS (Minify CSS tab):
/wp-content/plugins/cookie-law-info/public/css/cookie-law-info-gdpr.css
/wp-content/plugins/cookie-law-info/public/css/cookie-law-info-public.css
/wp-content/plugins/cookie-law-info/public/css/cookie-law-info-table.css
Thanks – please could you go to Minify >> Advanced >> Minify cache information and then click on Show information next to these two files?
wpo-minify-header-jquerycookie-law-infocookie-law-info-ccpa3.7.13.1.83.1.8.min.js
wpo-minify-header-jquerycookie-law-info3.7.13.1.8.min.js
The function is being called twice for some reason for each click event.
The first file shows this information:
/wp-content/plugins/cookie-law-info/legacy/public/js/cookie-law-info-public.js
/wp-content/plugins/cookie-law-info/legacy/admin/modules/ccpa/assets/js/cookie-law-info-ccpa.js
Excluding both did the job already. The Cookie Popup accordion item now stay open. Also, the Read more link works as well. Tested in different browsers. All works!
The second file was referring to the following file, which I exclude now as well.
/wp-content/plugins/cookie-law-info/legacy/public/js/cookie-law-info-public.js
Thanks for your help! Next time I have an issue, I will first look into the information provided and check what will happen if I exclude the file in question.
All the Best,
Stephan
No problem, I’m glad it’s working.