WordPress.org

Ready to get started?Download WordPress

Forums

Contact Form 7
[resolved] REQUEST (3 posts)

  1. Jorge A. Gonzalez
    Member
    Posted 3 years ago #

    Only load /wp-content/plugins/contact-form-7/jquery.form.js?ver=2.52 when on a contact form. This way the jquery file is not loaded on posts/page/etc..

    OR

    Allow admins to disable this header include and we can script around it...

    This would allow for faster load times... jquery.form.js is 22.1k

    http://wordpress.org/extend/plugins/contact-form-7/

  2. Takayuki Miyoshi
    Member
    Plugin Author

    Posted 3 years ago #

  3. Jorge A. Gonzalez
    Member
    Posted 3 years ago #

    Worked. Thanks.

    More plugins need to adapt s similar logic.

    Don't load files that are not in use in the template.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic