WordPress.org

Forums

Q2W3 Fixed Widget (Sticky Widget)
[resolved] only works when editing my site (17 posts)

  1. aerosjerry
    Member
    Posted 1 year ago #

    The widget only seems to be fixed when I am in a wordpress editing session and view the page it works but in a chrome icognito window or any other browser it does not work. I have installed the Jquery updater plugin but no effect. site is http://investement-help.org theme is Thesis

    thanks

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

  2. Max Bond
    Member
    Plugin Author

    Posted 1 year ago #

    Hello!

    Check plugin settings page (Appearance -> Fixed Widget Option)
    Did you enable "Enable plugin for logged in users only" option?

  3. aerosjerry
    Member
    Posted 1 year ago #

    doesn't seem to make any difference either way. I have tried multiple settings. WHat to do?

  4. aerosjerry
    Member
    Posted 1 year ago #

    I am using it with a widget called "image widget" if that matters

  5. Max Bond
    Member
    Plugin Author

    Posted 1 year ago #

    I cannot open your site. The link is broken.
    Check javascript console when you are not logged in.
    Do you see javascript errors?

  6. aerosjerry
    Member
    Posted 1 year ago #

    http://investment-help.org/
    im not sure how to check my javascript console

  7. Max Bond
    Member
    Plugin Author

    Posted 1 year ago #

    Ok!
    Try to clear/disable cache plugins (WP Super Cache, Autoptimize).

  8. aerosjerry
    Member
    Posted 1 year ago #

    disabled both plugins, no effect

  9. Max Bond
    Member
    Plugin Author

    Posted 1 year ago #

    I see it is working )

  10. aerosjerry
    Member
    Posted 1 year ago #

    yes I disabled all the plugins & it started working then turned them on one by one, seems to be ok now, thanks for the feedback, great plugin!

  11. Frank Goossens
    Member
    Posted 1 year ago #

    Hi guys;
    I'm the Autoptimize developer. If Q2W3 Fixed Widget depends on jQuery and/or if it requires to be loaded early on (from <head>), then you might want to configure Autoptimize to exclude it (and jQuery, if it depends on it) from being aggregated/ minified in the Autoptimize settings-page.

    Have a great weekend,
    frank

  12. aerosjerry
    Member
    Posted 1 year ago #

    Futta,
    if you are suggesting Autoptimize may conflict with Q2W3 fixed widget
    I would like to know exactly how to set up Autooptimize to avoid this
    could you be more specific on how to set this up?

  13. Frank Goossens
    Member
    Posted 1 year ago #

    As Autoptimize is active and all is working, there is no conflict? :-)

    But for reference, if there would be; you would have to add "q2w3-fixed-widget.min.js, jquery.js" to the list of JavaScript to be excluded from optimization on the Autoptimize settings screen (advanced options).

    frank

  14. aerosjerry
    Member
    Posted 1 year ago #

    There does appear to be a conflict with Autooptimize, q2w3 works fine when I deactivate Autoptimize. I tried adding "q2w3-fixed-widget.min.js, jquery.js" to the exclude javascript list but that didnt seem to work

  15. Frank Goossens
    Member
    Posted 1 year ago #

    in that case jquery might have to be jquery.min.js or jquery-min.js (depends on your theme).

    alternatives: run autoptimize without js optimization or possibly set the "force javascript in head-option.

  16. Max Bond
    Member
    Plugin Author

    Posted 1 year ago #

    futtta!

    There is not direct conflict of Fixed WIdget and Autoptimize!
    When Autoptimize enabled (http://investment-help.org/), there is javascript error:
    Uncaught ReferenceError: a is not defined autoptimize_ca8259c4ed947e969210eb269640373f.js:71
    which affects all jQuery depended plugins.

    Looks like this error corresponds to copyright protection plugin, but I am not 100% sure

  17. Frank Goossens
    Member
    Posted 1 year ago #

    great catch Max Bond! Now I don't support copyright protection plugins ;-) but setting "try/catch" will allow other javascript to continue to function when an error occurs in one.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Q2W3 Fixed Widget (Sticky Widget)
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.