My button only shows when I'm logged into WordPress. If logged out or looking through incognito window the button is missing.

How can we get this fixed?

Thanks
Alex

    Hi alexfisha ,

    Welcome to the Buttonizer forums! 🎉

    This sounds like a caching issue.

    Do you perhaps have a caching plugin on your site?
    If so, try clearing the cache and see if the button will appear then.

    Let me know if this was the case for you. 😄

    Hi James,
    I have cleared the Cache, still now working.

    The button will only display if Im logged into WordPress.
    (please see screenshots attached, one is logged in, the other is logged out)

    You can see the Speech bubble button only shows when logged in.

    I have reset the button, but still the same issue.

    What else can we try?
    website is alexfisherhealth.com.au

    LOGGED OUT

    LOGGED IN

      13 days later

      Hi alexfisha ,

      Thank you for the update!

      After investigating I see you're using Siteground optimizer and it seems like it didn't combine the Buttonizer frontend script into the combined file.

      The buttonizer_ajax data variabele is in the combined file, but cannot be found by the Buttonizer frontend JavaScript as it's loaded earlier then the combined file.

      We do have a dirty solution for this: https://community.buttonizer.pro/knowledgebase/371-buttonizer-not-visible-with-siteground-optimizer

      But I think it would be better to contact them requesting a better solution.

      We can also do that for you if you'd like, or you let us know what their reply is. Then we will update our documentation too.

      But that's up to you, let me know!

      Hello,
      Thank you for looking into this.

      I contacted Siteground and they advised that i can use your dirty solution (which does work)
      Or contact you for the code that needs to be used.

      Is there any code I can use to keep JS minification active?

      Thanks again for your help.

        19 days later
        a month later

        alexfisha Apologies for the late reply. Thanks for the heads up via email.

        alexfisha Is there any code I can use to keep JS minification active?

        Buttonizer is minified by default (that's why the file name is .min.js). There is no need to minify it again with other plugins 🙂

        2 years later