WordPress.org

Ready to get started?Download WordPress

Forums

Advanced AJAX Page Loader
[resolved] Reload code for WP Contact Form 7 (6 posts)

  1. anthonysousa
    Member
    Posted 2 years ago #

    I just fixed some errors on my contact form, I believe this could be useful for anyone using Contact Form 7 and this great plugin.

    To get the plugin to work you must use the reload code:

    jQuery.get('/wp-content/plugins/contact-form-7/scripts.js', function(data) { eval(data); });

    http://wordpress.org/extend/plugins/advanced-ajax-page-loader/

  2. sync3ds
    Member
    Posted 2 years ago #

    where should i put that code?

  3. anthonysousa
    Member
    Posted 2 years ago #

    Go to plugin's settings at Settings > Advanced Ajax Page Loader

    There is a field called "Reload Codes".
    Just put the code there.

  4. Dean Williams
    Member
    Plugin Author

    Posted 2 years ago #

    Thank you anthony - I have added this to the reload codes site here:

    http://software.resplace.net/WordPress/AjaxPageLoader.php

  5. dwood7399
    Member
    Posted 1 year ago #

    This reload code doesn't work for me.

    I think it could be due to an update of WP Contact Form 7 (v 3.3.1), the scripts.js is in a subdirectory of the plugin's folder. I updated the path to the new folder, with no success:

    jQuery.get('localhost:8888/jjz/wp-content/plugins/contact-form-7/includes/js/scripts.js', function(data) { eval(data); });

    I'm not very familiar with ajax, so I love this plugin, but need to get my form working. Thanks!

  6. alhertz
    Member
    Posted 1 year ago #

    @dwood7399

    The following should get you going:

    Replace
    jQuery.get('localhost:8888/jjz/wp-content/plugins/contact-form-7/includes/js/scripts.js', function(data) { eval(data); });

    With
    jQuery.get('/wp-content/plugins/contact-form-7/includes/js/scripts.js', function(data) { eval(data); });

    Hope that helps!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic