Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #588475

    Is there a way to allow the link to open up in a new tab vs opening it in the same webpage?

    On bottom, first column after contact information.

    #589183

    Hey Devon!

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

    function avia_custom_element_id(){
    ?>
     <script>
    jQuery(window).load(function(){
    jQuery('.avia_socialcount a').attr('target','_blank');
    });
     </script>
    <?php
    }
    add_action('wp_footer', 'avia_custom_element_id');

    Regards,
    Yigit

    #589246

    Hi – can you be a bit more specific to where I should put it? Before and/or after which section?

    #589255

    Hey!

    You can add to the bottom of the file :)

    Cheers!
    Yigit

    #589264

    Awesome! Thanks and it works!

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Social Media Widget in Footer’ is closed to new replies.