@tarabella – Simply adding the popmake-123 class to an image or anything else will trigger popup 123 to open when the image is clicked.
In v1.2 which goes out tonight around 7pm EST I have added a new shortcode [popup_trigger id=”123″]image here[/popup_trigger] that will make this easier without needing to add classes to the html yourself.
Hope this helps.
Please take a moment to rate and review the plugin and or support.
Thanks.
With the theme I’m using, I’m using the advanced editor, and the image is within a slider. I don’t have the option of adding a class to the image code directly. The code isn’t visable in the text tab. The only option I have is a URL on click.
How would I structure that link?
In that case you will need to use the Custom Selector option under Click Open settings for the popup in question. There you can target the image using css selectors. Something like #slider .slide-1 img
@tarabella did you get the custom selector setting figured out?
Yes, I did! Thank you so much!
@tarabella – Awesome, glad you got it working.
Please take a moment to rate and review the plugin and or support.
@danieliser I’m unclear about using something like
[popup_trigger id=”123″]image here[/popup_trigger]
Your documentation says “id: the ID # or slug of the popup you want to trigger”, but Popup Maker creates/provides a class, e.g. popmake-162 – no Id is provided.
Also, I tried adding #pop1.x-img to Click Open Settings to this image:
<img id=”pop1″ class=”x-img x-img-circle none” src=”http://ericcaplain.com/wp-content/uploads/2015/10/ecc_white.png”>
but the popup is not triggered.
Okay, I figured out if the class is popmake-162, the ID i# is 162
So I tried this:
[popup_trigger id=”162″]<img src=”http://ericcaplain.com/wp-content/uploads/2015/10/ecc_white.png”>[/popup_trigger]
No popup. I do have popups working fine on buttons.
btw, I’m using Version 1.3.8
I found the problem with popover that wasn’t working. I neglected to set a Target Condition. Doh! Sorry for the false alarm.
@caplain – Glad you got it working. We are working on some major changes for v1.4 & 1.5 that will hopefully simplify the setup and make some of the settings more intuitive for the average user.
Thanks for sticking in there.