[Hustle Pro] Need help replicating some popups.

How do I create a popup using hustle but with onclick attribute As in, I want the popup to be triggered manually when I click the link.
I currently use another popup for the Activate button and How to Earn Button. My question now is:
How do I create a hustle popup then replace the Activate?
How do I Earn buttons with the necessary css codes to pull the popup manually when clicked?

  • Adam
    • Support Gorilla

    Hello Christopher

    I hope you’re well today!

    You already have pop-ups created in Hustle and they are setup fine. The issue here is different.

    There are two ways to show these pop-ups “on click”: one is to add a shortcode (as tested on chat) and another one is to use existing element (button, image or anything else) by simply adding its CSS class/ID to popup configuration. You can do it in “Behaviour” tab of the pop-up (the one you wish to show) config.

    So, the way it was done during the chat, it was correct. I’ve also tested both these ways (as mentioned above) on the site but there seems to be some conflict there. The site’s got quite a complex setup and also returns a lot of warnings and errors in browser console. This and the behavior of the Hustle “click” suggests that there’s “something” that’s breaking Hustles scripts and that’s why it’s not working.

    Usually, such conflict is caused by theme code, by other plugin or by some custom code applied to site. The way to find it out is to perform a full conflict test. Such a test is an essential troubleshooting tool and the way to do it is to:

    – disable all the plugins except tested one (Hustle in this case)
    – switch theme to default Twenty Twenty
    – clear all cache on server if there is any
    – check if the issue is still happening; in most cases at this point issue should be “solved”
    – so if there’s no issue, enable your regular theme back and check again
    – if it’s still working fine, start enabling plugins one by one after each one checking the site for the issue.

    At some point the issue will start happening again and we can assume nearly for sure that the last enabled plugin (or theme if it was right after enabling theme back) is the culprit. That would give us information on what/how to troubleshoot further so we could dig into this to fix the problem.

    Update me here with results, please, if you run the test.

    Kind regards,
    Adam