If you have troubles since the update to WordPress 4.5 please read this post before opening a new thread.
I want to open the links on the footer (facebook twitter etc) on a new windows, i’ve tried to modify the code on footer.php adding target=_blank but the page launch an error, please can someone help me? Thank you!
here the link to my site http://www.maidenconcerts.it
That link doesn’t bring up a site using the Display theme. You need to put the target=_blank in single quotations since it is inside an echo. Here its done for the twitter link:
echo "<li class='twitter'><a class='ie6fix' href='http://www.twitter.com/".$k_option['footer']['acc_tw']."' target='_blank'>Twitter</a></li>"
Thank you, it work very fine, my error is it was that i’ve put the target=’_blank’ before the last ” and not after, thank you very much, now you can close the thread if you want!
The topic ‘Open footer links in a new window’ is closed to new replies.