Hello!
Please try to check this article. If you still will have problems with popup on href link – provide me link to the page where I can check popup. I will check what is wrong.
Hi.. as i wrote i have also tried to use the link code as described in the article you mentioned (open popup on click page).
But i am very stubborn, and i’ve tried again.. but i have mistake the number of the popup…
Infact i have another popup in the page that trigger on 75% scroll of the page..
that have code 100, meanwhile the popup i try to use have code 101…
I have to say that the popup with code 100 works also with clicking the link…
But I cannot undestard why the popup with code 101 doesn’t works…
if you want to take a look the page is https://www.sardegnavacanzelowcost.it
Remember that i add the link dinamically with jquery on page load…
thanks for all your help you can provide to me…
regards
Hi!
Please describe where exactly on the page I can find the link with popup?
It’s the info button in the accomodation list, just after the booking form…
Hi supsystic, do you have any news for me???
-
This reply was modified 9 years, 1 month ago by
AdrianoAgri.
Hello!
I’m sorry for late reply. We had some difficulties in our support department.
As I see now everything is okay with popups on your site.
Has your problem been solved?
Yes now works because i have located the right file with the segment of code and modified the original file.
I would have like to leave the original file unchanged and modify the layout throught jquery, because this theme is very complex… now i have to create a child theme to prevent accidental update of theme.
but if you can give me a solution to have a working link using the append method of jquery i revert the oeration…
this was the code i was using
var infobutn = "<a class='button btn-small' href='<?php echo do_shortcode("[supsystic-show-popup id=101]")?>'>INFO</a>";
jQuery('.listing-style1').find('.details .action').append(infobutn);
thanks
Hello!
In any case you should load popup from your server. So, if you don’t want to add shortcode to your theme, you can add such shortcode in content of the post – [supsystic-show-popup id="100" load="1"]. This will make popup load from server side. And then you can add popup dynamically there you want.