Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #599602

    Hello, is it possible to open the ‘Link to the Persons website’ in a testimonial on the same page instead of a new page?

    #599767

    Hi EricSmeets!

    Please add following code to Functions.php file in Appearance > Editor

    function remove_target_attr(){
    ?>
     <script>
    jQuery(window).load(function(){
    jQuery('a.avia-testimonial-link').removeAttr('target');
    });
     </script>
    <?php
    }
    add_action('wp_footer', 'remove_target_attr');

    Regards,
    Yigit

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.