WordPress.org

Ready to get started?Download WordPress

Forums

Clean Archives Reloaded
Load JS & Hook only when necessary (1 post)

  1. willio
    Member
    Posted 3 years ago #

    Is there anyway to run the JS and load the plugin only when necessary?

    Most likely this plugin would only be loaded on a page anyway, loading the JS on every single load is redundant and unnecessary, no?

    CF7 has a way to do this:
    http://contactform7.com/blog/2009/11/22/loading-javascript-and-stylesheet-only-when-it-is-necessary/

    I was wondering if someone managed to do the same with CAR?

    Thank you.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic