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.
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.
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
Thanx worked like a charm!
Glad that worked for you :)
Regards,
Devin
This topic has been closed to new replies.