If you have troubles since the update to WordPress 4.5 please read this post before opening a new thread.
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!
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.