Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #522081

    It seems that by default, the testimonial website links open in a new window. I would like to have them open in the same window. I am using a child theme. What is the best way for me to change this so that links open in the same window?

    #522519

    Hi sandymeier!

    Try adding this to the child theme functions.php file.

    add_action( 'wp_footer', 'enfold_customization_testimonial_targets' );
    function enfold_customization_testimonial_targets(){
    ?>
    <script type = "text/javascript">
    jQuery(document).ready(function(){
    jQuery('.avia-testimonial-link').attr('target', '_self');
    });
    </script>
    <?php
    }

    Best regards,
    Elliott

    #522541

    I added the code to functions.php and I see that the script is properly inserted in the footer, but links still opens in a new window.

    #522666

    Hey!

    Do you mind creating a temporary admin login and posting it here privately so we can look into it?

    Cheers!
    Yigit

    #523387

    Thanks Yigit. I went ahead and did this.
    https://kriesi.at/support/topic/testimonials-website-link/
    I’ll just have to remember to change it with the next theme update.

    #523393

    Hi!

    You can avoid re-applying the changes each time by using a child theme. You can find instructions here – http://kriesi.at/documentation/enfold/add-new-or-replace-advanced-layout-builder-elements-from-child-theme/

    Best regards,
    Yigit

    #547479

    Thank you!!

    #547483

    Hi!

    We are glad you got that short out!
    Btw, If you have a moment, I would very much appreciate if you could quickly rate the Enfold to themeforest, which wiII heIp us keep the deveIopment up!

    Please do not hesitate to contact us, if you do need anything else.

    Regards,
    Basilis

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Testimonial Grid Website Links open in New Window’ is closed to new replies.