Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • #13776


    Is there a theme option to make the social icons like Facebook, Twitter etc open in a new window instead of the current one ?

    Or does the header.php needs to be changed ?

    If so what should i changed/add (which line).



    Paul L.


    Hi Paul,

    Yes, the header.php needs to have the _blank added to the links. Here they are all done if you want to just copy and paste them in:

    echo '<ul class="social_bookmarks">';
    if($dribbble = avia_get_option('dribbble')) { $social ++; echo "<li class='dribbble noLightbox'><a href='".$dribbble."' target='_blank'>".__('Follow us on dribbble', 'avia_framework')."</a></li>"; }
    if($twitter = avia_get_option('twitter')) { $social ++; echo "<li class='twitter'><a href='".$twitter."' target='_blank'>".__('Follow us on Twitter', 'avia_framework')."</a></li>"; }
    if($facebook = avia_get_option('facebook')) { $social ++; echo "<li class='facebook'><a href='".$facebook."' target='_blank'>".__('Join our Facebook Group', 'avia_framework')."</a></li>"; }
    if($gplus = avia_get_option('gplus')) { $social ++; echo "<li class='gplus'><a href='".$gplus."' target='_blank'>".__('Join me on Google Plus', 'avia_framework')."</a></li>"; }
    if($linkedin = avia_get_option('linkedin')) { $social ++; echo "<li class='linkedin'><a href='".$linkedin."' target='_blank'>".__('Add me on Linkedin', 'avia_framework')."</a></li>"; }




    Thanx worked like a charm!


    Glad that worked for you :)



Viewing 4 posts - 1 through 4 (of 4 total)

The topic ‘Socila icons opening a new window instead of the current ?’ is closed to new replies.