Support » Plugin: WP Super Simple Speed » Javascript menu conflict

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author nolongerused

    (@rspublishing)

    Hi giorgos_krhth,

    Thanks so much for your kind words (and for reporting the issue). That’s correct – the most probable cause of these issues had been removed from the code for now. I am not familiar with smthemes however, this does seem like a js related bug. Would you mind sharing your URL so we could have a look?

    Thanks

    Well the thing is that is not just my theme that isnt working properly. Almost every javascript on my webpage stopped working. The link of my website is http://animeonlinetv.com/ . I have keept a copy of my htaccess before the plugin activation but I would like to find a solution so I can keep this plugin in my website. Also i tried to remove everything related to js and javascript from htaccess but still nothing was working. If you think I can help you find the issue let me know what I should do.

    Plugin Author nolongerused

    (@rspublishing)

    Hi giorgos_krhth,

    So sorry for the delay.

    There is no need to alter the root .htaccess (rules written by our plugin) in any way. From what I am gathering here, I am going to pin this on the function that loads jquery from the google cdn (could be clashing with your current theme and its framework). We could go ahead and uncomment this function from the plugin inc-function.php file. You should have access to this via your plugin editor (if you have not disabled it) or cPanel file manager/ftp. Open the inc-functions.php file of the plugin and uncomment line 55 – 61 (which is the following code):

    function enqueue_jquery_google_cdn() {
        wp_deregister_script( 'jquery' );
        wp_register_script('jquery', 'http://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js', false, '1.11.1');
        wp_enqueue_script( 'jquery' );
    }
    
    add_action( 'wp_enqueue_scripts', 'enqueue_jquery_google_cdn' );

    So that it is:

    //function enqueue_jquery_google_cdn() {
        //wp_deregister_script( 'jquery' );
        //wp_register_script('jquery', 'http://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js', false, '1.11.1');
        //wp_enqueue_script( 'jquery' );
    //}
    
    //add_action( 'wp_enqueue_scripts', 'enqueue_jquery_google_cdn' );

    I am certain this will resolve your issue. Please have a go and let me know.

    Regards

    Problem Solved after that. I am using this plugin https://wordpress.org/plugins/use-google-libraries/ for those jquery and probably your plugin was in conflict with that on jquery’s load thank you very much for your help. I am definitely gonna five star this one.

    Thank you very much.

    Plugin Author nolongerused

    (@rspublishing)

    You are most welcome, Sir!

    Thanks so very much!

    So I’m liking this plugin for the speed boosts but I’m wondering if it would be better to have options to allow us to turn on/off the various tweaks – as well as the fix above.

    By default, all the tweaks you make are great but changing .php in the plugin is is just a bad idea for us as your next update will kill the changes.

    Better if there are plugin settings to do this.

    PLUS, it’s be awesome to so some testing of various combinations of tweaks to see what gives the most impact. But that’s just for us geeks.

    Mizagorn

    (@mizagorn)

    I agree with the comment by webpropopuli above.

    Commenting out the jquery code did fix my dropdown menu problem, but what happens when an update to the plugin occurs?

    Otherwise, great stuff!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Javascript menu conflict’ is closed to new replies.