WordPress.org

Ready to get started?Download WordPress

Forums

Q2W3 Fixed Widget (Sticky Widget)
[resolved] Plugin doesnt work (14 posts)

  1. mr.achim
    Member
    Posted 6 months ago #

    Hi, the plugin is activated on my website but is not working. I have the same problem on 2 websites : http://freshhome.ro and http://travelica.ro . Please help

    https://wordpress.org/plugins/q2w3-fixed-widget/

  2. Max Bond
    Member
    Plugin Author

    Posted 6 months ago #

    Hi!
    You have outdated jQuery on both sites!

    http://freshhome.ro
    jQuery loaded two times. Source code line 8:
    <script type='text/javascript' src='http://code.jquery.com/jquery-1.6.2.js'></script>
    You need to remove this completely!

    http://travelica.ro
    Source code line 43:
    <script type='text/javascript' src='http://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js?ver=3.8.1'></script>
    You need to update jQuery to version 1.10.2 (WordPress 3.8 standard)

  3. mr.achim
    Member
    Posted 6 months ago #

    i done that on freshhome.ro, still not working.

    on travelica.. i have wp 3.8.1 , how can i update jquery ?

  4. mr.achim
    Member
    Posted 6 months ago #

    ok its working on freshhome now :)

    i dont know how to update the jquery for travelica.ro ..

  5. mr.achim
    Member
    Posted 6 months ago #

    for freshhome.ro : something strange... the plugin its working only when i am loged on the website. if i logout its not working anymore. i have cleared the cache and no results

    for travelica.ro : i instaled jquery updater and its not working

    please help

    [Moderator Note: No bumping, thank you.]

  6. Max Bond
    Member
    Plugin Author

    Posted 6 months ago #

    Hi!

    for freshhome.ro : something strange... the plugin its working only when i am loged on the website

    Check plugin settings page. Option "Enable plugin for logged in users only" must be disabled.

    for travelica.ro : i instaled jquery updater and its not working

    I see the site is still using jQuery 1.4.4.
    jQuery Updater didn't help? Well... in this case you have to manually disable jQuery load string. First search in theme function.php file for this string:
    http://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js
    if found - comment this string. If you don't know how to comment the string post the code here I'll help.

  7. mr.achim
    Member
    Posted 6 months ago #

    fresh is working, thanks !

    @ travelica, i tryed with to comment like bellow and nothing :

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

  8. Max Bond
    Member
    Plugin Author

    Posted 6 months ago #

    Here is the right way:

    function my_scripts_method() {
    //wp_deregister_script( 'jquery' );
    //wp_register_script( 'jquery', 'http://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js');
    wp_enqueue_script( 'jquery' );
    }
    add_action('wp_enqueue_scripts', 'my_scripts_method');
  9. mr.achim
    Member
    Posted 6 months ago #

    It's working ! Thanks a lot !

  10. mr.achim
    Member
    Posted 4 months ago #

    i made an update to freshhome.ro wp theme, and i don't know why the fixed widget it isn't working anymore. can you please help me ? thanks ..

  11. Max Bond
    Member
    Plugin Author

    Posted 4 months ago #

    Hello!
    I see a lot of javascript errors on your site.
    The source of errors is WP Minify plugin! Disable it, then we can continue debuging.

  12. mr.achim
    Member
    Posted 4 months ago #

    yes i think the problem was from minify. there are still a lor of errors ?

  13. Max Bond
    Member
    Plugin Author

    Posted 4 months ago #

    No javascript errors!
    I see the widget is working now!

  14. mr.achim
    Member
    Posted 4 months ago #

    thank you 007 ! :)

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.