• Resolved smwc

    (@smwc)


    Hello! We really love this plugin and it’s been great for us transitioning over to Gutenberg. However, I noticed that the plugin resources are being loaded on every page of our site, including pages that do not use the accordion and even custom templates that are not using Gutenberg at all. Our homepage is a good example of the latter.

    Is it possible to set up the block so it’s CSS and JS are only loaded on pages where the accordion block is being used? If not, would it at least be possible to set up the block where the assets are only loaded on pages that use Gutenberg?

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Only load plugin resources when used’ is closed to new replies.