Lost your password?

Widgets & Sidebars

Widgets » Text Widget

The text widget allows you to add arbitrary text or HTML to your sidebar. It is the most popular widget because of it’s power and flexibility. Another nice thing about the text widget is that you can also add multiple instances of it to your blog, each with different content.

You can use a text widget to display links, simple text, images, tables, CSS styled HTML, or a combination. Be aware though that text widgets fall under the same code security restrictions that blog posts and pages do. If you use any code that isn’t allowed it will not be displayed on the blog.

text-widget

The first box is for the title to display and the second box is for the text widget contents.

Adding an Image

To add an image to the sidebar, you need to use a little HTML. To get the URL for an image that has been uploaded to your blog, go to the Media Library and click on the image. You’ll see a File URL field with the location of the uploaded file. Copy the URL.

edit-media-image-url

Now go to Appearance -> Widgets and add a Text Widget.

You need to type out the HTML that will display the image. Use the URL that you copied from your Media Library. Make sure to adjust the width to something that fits well in your sidebar! Each theme is different, so you may need to experiment to find the best number to use. Here is how it should look:

text-widget-img-code

↑ Table of Contents ↑

Video

Watch the “Text widgets – a quick way to add text, links and images to your sidebar” video from WordPress.tv.

The text widget - add text, images and more to your sidebar

The text widget - add text, images and more to your sidebar

This movie requires Adobe Flash for playback.

Last modified: September 30, 2009

Help us improve:

We're always looking to improve our documentation. If this page didn't answer your question or left you wanting more, let us know! We love hearing your feedback. For support, please use the forums or contact support form. Thanks!