Tagged: captions, fullscreen slider, links
Ping? O_o
Hi!
Thank you for using Enfold.
Are you going to add different links for each slide? For a temporary fix, please add this in the functions.php file:
// slide link
add_action('wp_footer', 'ava_new_custom_script_slidelink');
function ava_new_custom_script_slidelink(){
?>
<script type="text/javascript">
(function($) {
var link = '';
$('.avia-slideshow').click(function(e) {
var exclude = $(e.target).is('.prev-slide, .next-slide');
if(exclude){
e.preventDefault();
return;
}
var inner = $(this).find('.avia-slideshow-inner'),
link = inner.find('.active-slide .avia-slide-wrap').attr('href');
window.location.href = link;
});
$('.avia-slideshow').on('mouseover', function() {
var inner = $(this).find('.avia-slideshow-inner'),
link = inner.find('li .avia-slide-wrap');
if(link.length) $(this).css('cursor', 'pointer');
});
})(jQuery);
</script>
<?php
}
Cheers!
Ismael