Title: How do I insert the code for widget sidebars?
Last modified: August 20, 2016

---

# How do I insert the code for widget sidebars?

 *  [padraigstapleton](https://wordpress.org/support/users/padraigstapleton/)
 * (@padraigstapleton)
 * [14 years ago](https://wordpress.org/support/topic/how-do-i-insert-the-code-for-widget-sidebars/)
 * Hi there,
 * I’m working on the website [http://www.ltfc.ie](http://www.ltfc.ie). I did have
   the widgets up and running but somehow the links went missing. I’ve relinked 
   them and you can see them ok but now I can’t remember the code and where it goes,
   so you can click on the links and corresponding website will appear in a new 
   window? Any ideas? Example below…
 * <img src=”[http://i40.tinypic.com/34h6iy9.png&#8221](http://i40.tinypic.com/34h6iy9.png&#8221);
   border=”0″ alt=”Image and video hosting by TinyPic”>

Viewing 4 replies - 1 through 4 (of 4 total)

 *  [vtxyzzy](https://wordpress.org/support/users/vtxyzzy/)
 * (@vtxyzzy)
 * [14 years ago](https://wordpress.org/support/topic/how-do-i-insert-the-code-for-widget-sidebars/#post-2738873)
 * I am guessing a bit, but I think what you want is to put the links in a Text 
   widget and place the widget in a sidebar. If that is not correct, please explain
   more where you want the links.
 *  [Michael](https://wordpress.org/support/users/alchymyth/)
 * (@alchymyth)
 * [14 years ago](https://wordpress.org/support/topic/how-do-i-insert-the-code-for-widget-sidebars/#post-2738884)
 * > you can click on the links and corresponding website will appear in a new window?
 * do you mean the ‘target’ attribute:
 * [http://www.w3schools.com/tags/att_a_target.asp](http://www.w3schools.com/tags/att_a_target.asp)
 *  [graphfx21](https://wordpress.org/support/users/graphfx21/)
 * (@graphfx21)
 * [14 years ago](https://wordpress.org/support/topic/how-do-i-insert-the-code-for-widget-sidebars/#post-2738889)
 * Yeah,
 * <img src=”[http://i40.tinypic.com/34h6iy9.png&#8221](http://i40.tinypic.com/34h6iy9.png&#8221);**
   target=”_blank”** border=”0″ alt=”Image and video hosting by TinyPic”>
 *  Thread Starter [padraigstapleton](https://wordpress.org/support/users/padraigstapleton/)
 * (@padraigstapleton)
 * [14 years ago](https://wordpress.org/support/topic/how-do-i-insert-the-code-for-widget-sidebars/#post-2738890)
 * Yep, that works! Many many thank yous! 🙂

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘How do I insert the code for widget sidebars?’ is closed to new replies.

## Tags

 * [code](https://wordpress.org/support/topic-tag/code/)
 * [link](https://wordpress.org/support/topic-tag/link/)
 * [widget](https://wordpress.org/support/topic-tag/widget/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 4 replies
 * 4 participants
 * Last reply from: [padraigstapleton](https://wordpress.org/support/users/padraigstapleton/)
 * Last activity: [14 years ago](https://wordpress.org/support/topic/how-do-i-insert-the-code-for-widget-sidebars/#post-2738890)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
