• Resolved jackmac71

    (@jackmac71)


    hi there,

    I have a problem with Spectras Table of Contens Block. I think its facing an issue with js-delay. How can I exclude the Table of Contents Block at WPRocket?

    Best regards

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support mohsinbsf

    (@mohsinbsf)

    Hi @jackmac71,

    Thanks for getting in touch with us.

    You can exclude the table of contents block JS by using this JS path in WPRocket: wp-content/plugins/ultimate-addons-for-gutenberg/assets/js/table-of-contents.js

    Please try and let me know how it goes.

    Have a nice day!

    Thread Starter jackmac71

    (@jackmac71)

    Hi,

    thanks for your reply, I found out that excluding in WPRocket is not necessary, but I have to exclude this in perfmatters, but it does not work in perfmatters, I think it‘s a css issue not ja js issue. When I deactivate all css handling on perfmatters it worked well, but with css fubtions in perfmatters it doesn‘t.

    Is there a special code to exclude toc in css?

    Plugin Support mohsinbsf

    (@mohsinbsf)

    Hi @jackmac71,

    Can you please check by turning off file generation from the Spectra dashboard ( https://wpspectra.com/docs/file-generation/ ) and clear all the caches.

    Please try and let me know how it goes.

    Have a nice day!

    Thread Starter jackmac71

    (@jackmac71)

    Hi Moshinsbsf,

    File Generation was not enabled, I disabled before I start to use Spectra Blocks.

    Thread Starter jackmac71

    (@jackmac71)

    I found the issue, it is a problem with perfmatters, when delete unused css, the spectra blocks stop working. If I disable it, it works fine.

Viewing 5 replies - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.