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

    Hi Kriesi,

    I’m trying to get the links to Twitter and facebook in the header of the Broadscope theme to open in a new window, but no succes so far.

    Can you please let me know how to get this done?

    Thanks!!

    Kind regards,

    Jeroen

    #66938

    Hi Jeroen,

    You need to open up header.php and change (right around line 93):

    if($twitter = avia_get_option('avia, twitter')) echo "<li class='twitter'><a href='http://twitter.com/".$twitter."'>Twitter</a></li>";
    if($facebook = avia_get_option('avia, facebook')) echo "<li class='facebook'><a href='".$facebook."'>Twitter</a></li>";

    to

    if($twitter = avia_get_option('avia, twitter')) echo "<li class='twitter'><a href='http://twitter.com/".$twitter."' target='_blank'>Twitter</a></li>";
    if($facebook = avia_get_option('avia, facebook')) echo "<li class='facebook'><a href='".$facebook."' target='_blank'>Twitter</a></li>";

    #66939

    Thanks Devin, I was struggling with the “and ‘ ……

    Now it works!!

    Thanks again!!

    #66940

    Hi!

    Great. Thread closed.

    Best regards,

    Peter

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

The topic ‘Facebook and Twitter links in header’ is closed to new replies.