TOC Menu Not Expanding after Update

[ad_1]

hi,

please provide an url with the problem. Did you flush all cashes on your website?

URL is posted above.

Yes, I purged the cashes.

Also, I just created a test page with simple headers and the TOC. In preview mode the menu does not expand either.

After a first inspection of the problem: I see the new HTML of the aria changes but the old JavaScript. This is a caching issue. I will look into this now and will push a version that uses a new version number for the js. But please meanwhile try to purge the caches of a JavaScript caching plugin you might be using.

This test page works, too:

Please update to 6.0.7 and see if this fixed your problem. The accordion.js now uses a new internal version to inform caching plugins of the new version of the file.

I see that you are using a CDN:
https://sursto.b-cdn.net/wp-content/plugins/simpletoc/src/accordion.js

This causes the problem, but it is still my fault. So, I am confident that your problem has been resolved with 6.0.7

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer