How To Create a Link That Opens A New Tab
Written by: Eileen Lonergan
I am helping a client with their SmallBiz Themed website and they have asked me how to get the three footer widgets to link out of their website and open a new tab on a browser. The process is simple and I wanted to share the code:
<a href=”http://TheSiteURLHere.com” target=”_blank”>put the code for the image here</a>
The same process works for any link, so if you wanted to link to Facebook, yet have Facebook open in another tab, the process is the same:
<a href=”http://www.facebook.com/EileenCLonergan” target=”_blank”>Visit me on Facebook!</a>
Now of course the question was for using the widgets, which you input all of the text into HTML, you most certainly can follow this process for pages and posts, but make sure you are in HTML mode, not visual. Your end result will look like this: Visit me on Facebook!
You may find some other nuggets of info in my recent post: 11 Tricks for Using WordPress.