Is there a way that I can use the post slider element and pull in portfolio items, but not have them link through to a portfolio page. Basically I want to pull in the portfolio item featured image and title but remove the link.
Hi Andrew!
Please add following code to Quick CSS in Enfold theme options under General Styling tab
.avia-content-slider .slide-entry {
pointer-events: none;
}
Regards,
Yigit
That’s amazing. Thank you.
This is a long shot but I don’t suppose if I did want to have a link that I can control where the link goes. I do not want it to go to the portfolio item but to a custom link. I only appear to be able to do this if I use portfolio grid rather than post slider.
Hey!
Please add following code to Functions.php file in Appearance > Editor and change the link as needed
` function add_custom_script_link(){ ?> <script> jQuery(window).load(function(){ jQuery("a.slide-image").attr("href", "http://kriesi.at"); jQuery("h3.slide-entry-title.entry-title>a").attr("href","http://kriesi.at") }); </script> <?php } add_action('wp_footer', 'add_custom_script_link'); `
Best regards,
Yigit