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

    Hi!

    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).

    Thanx!

    Regards

    Paul L.

    #80549

    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='http://youtube.com/".$dribbble."' target='_blank'>".__('Follow us on dribbble', 'avia_framework')."</a></li>"; }
    if($twitter = avia_get_option('twitter')) { $social ++; echo "<li class='twitter'><a href='http://twitter.com/".$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>"; }

    Regards,

    Devin

    #80550

    Thanx worked like a charm!

    #80551

    Glad that worked for you :)

    Regards,

    Devin

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.