Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Author Daniel Iser

    (@danieliser)

    @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.

    Thread Starter tarabella

    (@tarabella)

    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?

    Plugin Author Daniel Iser

    (@danieliser)

    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

    Plugin Author Daniel Iser

    (@danieliser)

    @tarabella did you get the custom selector setting figured out?

    Thread Starter tarabella

    (@tarabella)

    Yes, I did! Thank you so much!

    Plugin Author Daniel Iser

    (@danieliser)

    @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=”https://ericcaplain.com/wp-content/uploads/2015/10/ecc_white.png”&gt;

    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=”https://ericcaplain.com/wp-content/uploads/2015/10/ecc_white.png”&gt;[/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.

    Plugin Author Daniel Iser

    (@danieliser)

    @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.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘On Click with image’ is closed to new replies.