How can I load only on the pages needed

Home Forums Jquery Validation for Contact Form 7 How can I load only on the pages needed

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1494
    Alex
    Guest

    I would like to load this plugin only for the pages that have a contact form, how can I accomplish this?

    #1497
    Dinesh
    Keymaster

    Sorry Alex, we don’t have that feature. The plugin loads its css and js in every pages like the Contact Form 7 plugin does.

    #1648
    Aldo
    Guest

    With Contact Form 7 we can use this:
    wp_deregister_script(‘contact-form-7’);

    Do we have a similar option for this plugin?

    #1652
    Dinesh
    Keymaster

    You can use this to accomplish then.

    wp_deregister_script(‘jvcf7_jquery_validate’);
    wp_deregister_script(‘jvcf7_validation_custom’);

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘How can I load only on the pages needed’ is closed to new replies.