Issues with being able to call popup
-
So I read through the triggers documentation and see the options for supposedly opening a popup, but I currently use the Customizr theme on my website that I am trying to link the main slider on the front page to the popup, however the option for adding a link to the slider is currently only using http. This is the code I have for linking.
add_action('wp_head' , 'link_slide_caption'); function link_slide_caption() { //wraps the slider caption in the same link as the slide link ?> <script type="text/javascript"> jQuery(document).ready(function () { ! function ($) { //prevents js conflicts "use strict"; $( '[id^=customizr-slider] .carousel-caption' ).each(function( index ) { var link = $( this ).parent().find('a').attr('href'); $(this).wrap('<a href="'+link+'"></a>'); }); }(window.jQuery) }); </script> <?php }
I know this is sort of a crossover from the theme support and popover support, but I had to deactivate and delete the plugin for now unless someone can advise me as to how I can get it working on my website. I can’t currently add any sort of css, shortcodes or even html tags into the link field in my theme customization.
Would anyone be willing to assist and advise if and how I could edit the above code to be able to use your plugin? I’d be happy to use it as it appeared to do the job and give it a good rating if I can just get it up and running! Thanks!
- The topic ‘Issues with being able to call popup’ is closed to new replies.