Viewing 2 replies - 1 through 2 (of 2 total)
  • you could do something like this…
    http://advent.squareonemd.co.uk/prevent-loading-unnecessary-scripts-and-styles-in-wordpress/

    or, what i recently did, is to install Plugin Organizer…
    https://ww.wp.xz.cn/plugins/plugin-organizer/

    with that, you can easily disable scripts globally without having to edit the theme functions.php file

    than you can allow the scripts on a per-page basis right from the page/post editor – in may case, i disabled only CF7 and Wp-Pro-Quiz globally, then allowed the loading of those scripts on the respective pages

    the best solution would be if the plugin author did this by enqueuing the css/js only on the quiz pages (if possible)

    Thread Starter riccardorusso79

    (@riccardorusso79)

    Hello. CF7 has a workflow, provided by the plugin owner, which disables it when it is not useful.

    I’m wondering if here the owner can help us in a “certified” way to load the plugin only in a specific page.

    May the owner join this discussion?

    Riccardo

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

The topic ‘Activate CSS/JS just for one page’ is closed to new replies.