Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #14936

    Dear,

    How can I fix the social icon’s to open in a new tab?

    Hope you can help me out!

    Thank you so much

    Kind regards,

    Chris from asmterdam

    #85581

    Hi,

    Open header.php and find this code

    if($contact_page_id) echo "<li class='mail'><a href='".get_permalink($contact_page_id)."'>".__('Send us Mail', 'avia_framework')."</a></li>";

    if($twitter = avia_get_option('twitter')) echo "<li class='twitter'><a href='http://twitter.com/".$twitter."'>".__('Follow us on Twitter', 'avia_framework')."</a></li>";
    if($facebook = avia_get_option('facebook')) echo "<li class='facebook'><a href='".$facebook."'>".__('Join our Facebook Group', 'avia_framework')."</a></li>";

    ?>
    <li class='rss'><a href="<?php avia_option('feedburner',get_bloginfo('rss2_url')); ?>"><?php _e('Subscribe to our RSS Feed', 'avia_framework')?></a></li>

    Replace it with

    if($contact_page_id) echo "<li class='mail'><a href='".get_permalink($contact_page_id)."'  target='_blank'>".__('Send us Mail', 'avia_framework')."</a></li>";

    if($twitter = avia_get_option('twitter')) 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')) echo "<li class='facebook'><a href='".$facebook."' target='_blank'>".__('Join our Facebook Group', 'avia_framework')."</a></li>";

    ?>
    <li class='rss'><a href="<?php avia_option('feedburner',get_bloginfo('rss2_url')); ?>" target='_blank'><?php _e('Subscribe to our RSS Feed', 'avia_framework')?></a></li>

    Regards,

    Ismael

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

The topic ‘How do I open social icon's in a New Tab?’ is closed to new replies.