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

    how do i add ( target=”_blank” ) to the echo statement below?

    if($facebook = avia_get_option('facebook')) echo "<li class='facebook'>".__('Join our Facebook Group', 'avia_framework')."";

    Thanks in advance!!!

    #61154

    Hey,

    In footer.php replace:

    if($dribbble = avia_get_option('dribbble')) echo "<li class='dribbble'><a href='http://dribbble.com/".$dribbble."'>".__('Follow us on dribbble', '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>";

    with:

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

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

The topic ‘add ( target="_blank" ) to an echo statement’ is closed to new replies.