• Resolved keepact

    (@keepact)


    The pluguin is very good but I use it only in the blog part of my page. I’ve noticed that on every page, even the ones I’m using Elementor, all javascripts are loaded anyway. Regarding css the same thing happens. Are there any filters I can use to allow the plugin to just load these files on the page being used?

    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Team Brainstorm Force

    (@brainstormteam)

    Hey,

    You can indeed remove them using native WordPress function. wp_dequeue_script( 'uagb-masonry' );

    Also, if you don’t need any of the blocks you can disable them from Admin end – Settings – UAG.
    This disabling of blocks will not load the related CSS and JS assets.

    I hope this resolves your query.

    Regards,
    Vrunda Kansara

    Thread Starter keepact

    (@keepact)

    Yes, I noticed that not all blocks use JS and coincidentally the ones I was using did not use them. I just deactivated the other blocks on Admin/Settings/UAG and everything was perfect. Thank you!

    Plugin Support Team Brainstorm Force

    (@brainstormteam)

    I am glad! 🙂

    Regards,
    Vrunda Kansara

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

The topic ‘Disable JS and CSS’ is closed to new replies.