Hi,
I want the link I enter into the website link area in the testimonial to open in the same window. I’ve tried using css code:
.avia-testimonial-link {
target=”_self”
}
but it hasn’t worked. Do I have to change the php? if so can you let me know what to change…
Thanks,
Deirdre.
Hey icebirdmedia!
Please remove the code from Quick CSS field and add following to Functions.php file in Appearance > Editor
function add_custom_target(){
?>
<script>
jQuery(window).load(function(){
jQuery('a.aviablank.avia-testimonial-link').attr('target','_self');
});
</script>
<?php
}
add_action('wp_footer', 'add_custom_target');
Cheers!
Yigit