Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #23036

    Hi

    I need my Abundance social icons to open in a new ‘blank’ tab/window.

    I’ve seen this same question answered for a couple of other themes but I can’t find a ‘helper social-icons’ php file for Abundance.

    Where do I look guys and what code should be changed?

    Thanks

    Jeff

    #118315

    Hi,

    You can find them on header.php, look for this code

    <li class='rss'><a href="<?php bloginfo('rss2_url'); ?>">RSS</a></li>
    <?php
    if($twitter = avia_get_option('twitter')) echo "<li class='twitter'><a href='http://twitter.com/".$twitter."'>Twitter</a></li>";
    if($facebook = avia_get_option('facebook')) echo "<li class='facebook'><a href='".$facebook."'>Twitter</a></li>";
    ?>

    Change that to

    <li class='rss'><a target="_blank" href="<?php bloginfo('rss2_url'); ?>">RSS</a></li>
    <?php
    if($twitter = avia_get_option('twitter')) echo "<li class='twitter'><a target='_blank' href='http://twitter.com/".$twitter."'>Twitter</a></li>";
    if($facebook = avia_get_option('facebook')) echo "<li class='facebook'><a target='_blank' href='".$facebook."'>Twitter</a></li>";
    ?>

    Regards,

    Ismael

    #118316

    Hi Ismael

    Thanks so much for that.

    Efficient and speedy as always.

    Best regards

    Jeff

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

The topic ‘Social Icons to Open New Window’ is closed to new replies.