In Part 1 of this tutorial series, we cover the basics of how to use widgets in WordPress.
In this tutorial you will begin configuring a number of WordPress widgets.
How To Configure Widgets
In a default WordPress installation, your site comes with a number of built-in widgets, such as widgets that let you display links to your pages, recent posts, RSS feed content, filter content by tags, etc.

(By default, your site comes with several pre-installed widgets)
How To Add Sidebar Widgets To WordPress: Tutorial
In this step-by-step tutorial series, we are going to add, configure and reorder various widgets, including:
- Adding a clickable Support Contact image linking visitors to your contact page.
- Adding a Categories section with a drop down menu.
- Add a Recent Posts section.
- Add a list of the site’s Pages.
- Display Links on your sidebar menu.
- Add an RSS Feed section.
- Add a Tag Cloud.
- Add and configure an Archives section to your sidebar section.
The Widgets section is located in your WP administration area and can be accessed by going to Appearance > Widgets …

(Widgets Menu)
This loads the Widgets panel in your web browser …

(Widgets Panel)
Let’s start by learning how to configure WordPress text widgets …
Add A Text Widget To Your Sidebar
Text widgets are incredibly versatile …

(WordPress Text widget)
![]()
Rich Text Widget
From version 4.8 onward, WordPress has added native rich-text editing capabilities to text widgets …

(Rich Text Widget)
This lets you quickly and easily format text, create lists, add emphasis, and insert links into your sidebar text …

(Format text easily with the new text widget)
Text widgets let you insert just about anything you want into the sidebar or other widget sections, such as lists of favorite items, image links, special promotions and more to your site … just type in text or add HTML into the content area. You can also add an optional title in the Title field. Remember to save your settings …

(A text widget is very useful!)
Example: Add A Contact Button To Your Sidebar Navigation Section Using A Text Widget
For this example, we’ll set up a clickable help button on your sidebar section that takes your visitors to a page on your site (or an external site, e.g. a helpdesk) where they can contact you for help and support.
First, create or source a “help button” graphic image that your visitors can click on …

We’ll set up the clickable Help button to display at the top of the sidebar like in the example shown below …

Step 1 – Upload your image.
Upload the button image to your server’s images folder and note the address of your server’s image location.
For example …
http://www.yourdomain.com/images/supportbutton.jpg
You will need this information in Step 3.
For someone to go to your contact page when the help button is clicked, either create a contact page, or have an existing destination page already set up (e.g. a helpdesk). We will link the button graphic to this URL in Step 3 …
Step 2 – Add the contact page.
Create a contact page and note down its URL …

Step 3 – Compose the HTML code for your text widget.
Don’t worry … this sounds a lot more technical than it is. Basically, we just need to create the instructions for your clickable button.
Your instructions can be typed into a simple text editor and should look something like this …

- Replace “http://www.yourdomain.com/contact-us” in the code above with the URL of your contact page location.
- Replace “http://yourimagelocation.com/img/supportbutton.jpg” in the code with the URL of your image location.
The image below shows which sections of the above code you need to replace with your actual contact page and image URLs …

Replace the above URLs and then copy the above code to your clipboard when finished.
If you need help understanding basic HTML code, see this tutorial:
Go back into your Widgets section …

(Widgets Screen)
Step 4 – Add a Text widget.
Add a Text widget to your sidebar in the location where the clickable button should display.
In the Available Widgets area, select the Text widget …

(Text widget)
Drag the Text widget to the Active Widgets section and release the widget at the top of the Widget Area …

(Drag-and-drop your WordPress text widget)
Step 5 – Configure your text widget.
Click on the widget title bar to configure its settings. Paste the code with the URLs to your contact page and graphic button into the text widget content area and click save …

Add a heading to the widget if you want (e.g. “Need Help?”, “Support”, etc.) and paste the code with the correct URLs into the text area, then click the save button …

![]()
Note: Make sure to check all URLs before pasting scripts into your Text Widget, or your clickable button will not work.
*** If using WordPress version pre-4.8 ***
If you’re adding text with no formatting tags, you may want to tick the Automatically add paragraphs box to wrap each block of text in an HTML paragraph code (note: not required if you’re pasting in HTML content like we’re doing in this tutorial).
Here is some text added to a Text widget with Automatically add paragraphs box unchecked …

(Automatically add paragraphs option not checked)
Here is some text with Automatically add paragraphs option checked …

(Automatically add paragraphs box selected)
***
Step 6 – Refresh the web browser.
After adding the widget and HTML content, visit the front-end of your site and refresh the web browser. If you have entered all of the links correctly, then the support button should display in the sidebar menu …

(Clickable button widget on sidebar)
The above screenshot shows a clickable button added to a newly-installed WordPress site.
Step 7 – Test your widget.
The final step is to ensure that your destination link works. Test this by clicking the help button. If you are taken to your support page, then your text widget has been set up correctly …

(Test your clickable button)
![]()
Text Widgets – Useful Tips:
If you want a new browser window to open up when visitors click on your help button (so they don’t leave the page they’re on), then change the text widget code from this:

To this (i.e. include the section containing target=”_blank” in the text widget code):

When inserting images into your sidebar section, make sure that the width of the image does not exceed the width of the sidebar column, especially if you are using a non-responsive WordPress theme. As we’ve previously mentioned, some themes can display different column widths depending on their templates and their layout. Some sidebars may be too wide or too narrow. If your theme’s sidebar is narrower than the width of your button images, then you may need to either adjust the size of your images, or the column width to make images display correctly on your sidebar area.

(Adjust column width or reduce image size)
More Tips:
- If you don’t want the button image to be centered inside the sidebar, delete the <center> and </center> tags from the beginning and end of the HTML code. The image will then be aligned to its default settings (normally left-aligned).
- You can link the help button to any destination you want (e.g. to an external link, contact form, support forum, etc.) and change this anytime by replacing the code inside the widget.

***
This is the end of part 2 of this series of tutorials about how to use Widgets.
To continue reading, click here:
***
"Learning WordPress has been a huge stumbling block for me. I've been looking for something that covers absolutely everything but doesn't cost an arm and a leg. Thank you so much ... you have just provided me with what I have been looking for! Truly appreciated!" - Tanya