Widgets & Sidebars

Widgets » Text Widget

The Text Widget allows you to add text to your sidebar. It’s the most popular widget because of its power and flexibility — use one to display text, links, images, or any combination.

📌

Text Widgets fall under the same code security restrictions that posts and pages do, so if you use any code that isn’t allowed, it won’t be displayed.

Table of Contents


Text Widget Basics

Here’s an example of a text widget displaying some simple text:

text widget example

The font and appearance of text widgets varies by theme, so yours will look different. This example is from the Nucleare theme.


↑ Table of Contents ↑

How to Add the Text Widget

To add the widget to your site:

  1. In your dashboard, click on Appearance → Customize → Widgets.
  2. Choose the location where you’d like to place the widget on your site. Common options here include the Footer and Sidebar, but this may be different depending on your theme.
  3. Click either of the + block inserter buttons (see right) to see a list of all the available blocks and widgets.
  4. Scroll down to the Widgets section and click on the widget once to add it to your site.

For general information on working with widgets, see this guide.

The two + icon block inserter buttons are marked with arrows.
Block inserter buttons

Enter your title and content. As you enter text, you’ll see a preview of the widget appear on your blog.

When you’re satisfied, click Save & Publish to add the widget to your live site.


↑ Table of Contents ↑

Adding HTML

If you want to add HTML code to a widget, we suggest using the Custom HTML widget instead, as there’s less risk of your code breaking. If you do want to add HTML directly in a text widget, be sure to click the Text tab — don’t add HTML in the Visual editor.

If you are unfamiliar with HTML, you can learn more about Beginning HTML or Advanced HTML.


↑ Table of Contents ↑

Adding an Image

While you can add an image to a text widget using HTML, you also have an Image Widget that makes adding images to your sidebar much easier. Learn more about the Image Widget.


↑ Table of Contents ↑

Adding a Video

While you can add a video to a text widget using HTML or shortcodes, you can use a Video Widget instead, which makes adding video to your sidebar or footer much easier. Learn more about the Video Widget.


↑ Table of Contents ↑

Adding an Audio player

While you can add audio to a text widget using HTML or shortcodes, you can use an Audio Widget instead, which makes adding audio to your sidebar or footer much easier. Learn more about the Audio Widget.

Still confused?

Contact support.

Not quite what you're looking for?

Get Help