• Resolved Alex Stine

    (@alexstine)


    Hello,

    I would like to not have the plugin scripts included on pages without comments. Could you please grab me a code snippet for this? Loading useless scripts on pages that don’t even have comments is a waste of resources. I don’t mind editing core files, I log all my changes, but I am trying to run an optimized site, and need to only load these scripts where comments are open.

    Thanks.

Viewing 1 replies (of 1 total)
  • Thread Starter Alex Stine

    (@alexstine)

    I edited the core files and fixed it myself. It would be a good idea in the future to only load these scripts if comments are open though.

    Thanks.

Viewing 1 replies (of 1 total)
  • The topic ‘Stop Including Scripts Where Comments Are Not Opened’ is closed to new replies.