So how would I implement this code… “target=_blank” into this code…
if($facebook = avia_get_option(‘facebook’)) echo “<li class=’facebook’>“.__(‘Join our Facebook Group’, ‘avia_framework’).”“;
Thanks in advance!
I thin this post will help you: http://www.kriesi.at/support/topic/i-want-that-external-links-links-to-other-websites-open-in-a-new-windowtab
that didn’t help me at all, 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’).”";
You need to add it to the a href element inside the li element. In your code the a href is missing however it must be somewhere otherwise you can’t link to another website :)
I get the same issue when I try to post a code snippet that uses anchor link tags even when using code /code blocks.
Functions.php line 171 I replace the lt and gt symbols with curly braces so the code would paste.
The topic ‘How to make all Social Links open up into a new tab "target=_blank"’ is closed to new replies.