Pop-up box on call to action click

Dear support,

I want my Ninja Pop Up box to pop up after clicking the call-to-action button on the following page: https://howtogetrippedathome.com/free-workout.

When pasting the [ninja-popup ID=XX] into a text editor, the pop up works, but I want it to activate when the call-to-action button is clicked. The call-to-action widget, however, asks for a link and if I paste the ninja pop-up shortcode there it doesn’t work. This is what the Ninja Pop Up site says: http://demo.arscode.pro/ninja-popups/open-popup-by-clicking-on-the-link-or-button/

Is there a way to activate the shortcode using the call-to-action button?

I hope to hear from you soon.


Hello Maarten,

Use a Text widget and insert this code:

   <a href="#ninja-popup-XX" class="call-to-action wow zoomInUp">Some text here</a>


Thanks so much! It worked!

For other people reading this, I do had to include the ‘[ninja-popup ID=XX]’ in the same text widget, because otherwise the content for the popup wouldn’t be on the page and nothing pops up when clicking (as explained here: http://demo.arscode.pro/ninja-popups/open-popup-by-clicking-on-the-link-or-button/). The ‘[ninja-popup ID=XX]’ is not visible afterwards.

You’re welcome!

Please let us know in a new topic if you have any further questions, or if we can provide you with any other assistance.