Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter websanity

    (@websanity)

    I think this might be a Firefox thing. Currently to clear the cookie the Continue link, links to #. Very interesting says Firefox, I’ll just do nothing.

    If you update line 43 in escn-ajax.php to say this:
    a href=”<?php echo add_query_arg( ‘rnd’, rand(1,65535) ); ?>” id=”escn-continue”><span class=”escn-icon continue”></span><?php printf( ‘%s’, ‘Continue’ ); ?>

    Then all should be well again.

    This leads to Continue adding a random number as a parameter:
    https://www.mysite.co.uk/?rnd=RANDOM_NO
    or
    https://www.mysite.co.uk/?existing_param=1&rnd=RANDOM_NO

    Which will force a refresh of the page and thus allow Continue to Continue!

    Nice plugin – if you fix it, and I hope you do, please post response here and I’ll change my ‘Broken’ to ‘Working’!

    Cheers,
    Gerald

    Thread Starter websanity

    (@websanity)

    Hang on that’ll get the wp-admin directory in there

    Try this instead:
    ” id=”escn-continue”><span class=”escn-icon continue”></span><?php printf( ‘%s’, ‘Continue’ ); ?>

    Sorry,
    G

    Plugin Contributor Electric Studio

    (@electric-studio)

    Hi, just update the JQuery script, you can add this to your functions.php file:

    function es_load_jquery () {
    	$url = 'https://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js';
    	$check_url = @fopen( $url, 'r' );
    	wp_deregister_script( 'jquery' );
    	if( !$check_url )
    		wp_register_script( 'jquery', 'https://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js', false, 1 );
    	else
    		wp_register_script( 'jquery', get_template_directory_uri() . 'LINK-TO-JQUERY-IN-YOUR-THEME', false, 1 );
    	wp_enqueue_script( 'jquery' );
    }
    add_action( 'wp_enqueue_scripts', 'es_load_jquery' );
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Doesn't work’ is closed to new replies.