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!
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.
if($dribbble = avia_get_option('dribbble')) echo "{li class='dribbble'}{a href='http://dribbble.com/".$dribbble."' target='_blank'}".__('Follow us on dribbble', 'avia_framework')."{/a}{/li}";
if($twitter = avia_get_option('twitter')) echo "{li class='twitter'}{a href='http://twitter.com/".$twitter."' target='_blank'}".__('Follow us on Twitter', 'avia_framework')."{/a}{/li}";
if($facebook = avia_get_option('facebook')) echo "{li class='facebook'}{a href='".$facebook."' target='_blank'}".__('Join our Facebook Group', 'avia_framework')."{/a}{/li}";
Please use backticks (`) instead of the code tag.
You must log in to post.