In Part 1 of this step-by-step tutorial, we cover the basics of using WordPress widgets.
In this tutorial we are going to show you how to configure various frequently-used WordPress sidebar widgets.
Configuring Sidebar Widgets
By default, your site comes with a number of preinstalled widgets that can be used out of the box with minimal to no configuration needed, such as widgets that let you display external links, filter posts by categories, newsfeeds, filter content by publish dates, etc.

(In a default WordPress installation, your site comes with a number of built-in widgets)
How To Configure Frequently-Used Sidebar Widgets: Tutorial
In this tutorial, we will add, configure and reorder various widgets, including:
- Adding a clickable Support Contact image linking to the support page.
- Adding a Categories section.
- Adding a Recent Posts section to display the latest posts.
- Add a list of your site’s Pages.
- Display important Links on your sidebar.
- Add an RSS Feed section.
- Adding a Tag Cloud.
- Configure how Archived Posts display on your sidebar.
The Widgets panel can be easily accessed inside the WordPress administration by going to Appearance > Widgets …

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

(Widgets Screen)
Let’s begin to configure some 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 your sidebar or other widget sections, such as single lines or paragraphs of text, image links, messages and more to your site … simply by typing in text or inserting HTML into the widget content area. You can also add an optional title in the Title field. Remember to save your settings when done …

(A text widget is really versatile!)
Example: Add A Help Button To The Sidebar Section Using A Text Widget
For this example, let’s set up a clickable contact button on your sidebar menu that will take 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, you will need to create or source a “help button” graphic image that your visitors can click on …

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

Step 1 – Upload your image.
To display an image on your site, the graphic image must be uploaded to your server. Upload your button graphic to a folder on your server and note the path to your image location.
E.g. …
http://www.yourdomain.com/images/supportbutton.jpg
This information will be used in Step 3.
For visitors to go to the contact page when the graphic button is clicked, either create a contact page, or have an existing destination page already set up (e.g. a helpdesk). We will then link the button image to this URL in Step 3 …
Step 2 – Add the contact page.
Create a contact page on your site 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. In simple terms, we just need to create the instructions for your clickable button.
Your code can be typed in a simple text file 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 sample code you need to replace with the 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, refer to this tutorial:
Go back to your Widgets section …

(Widgets Panel)
Step 4 – Add a Text widget.
Add a Text widget to your sidebar where you would like the button to display.
In the Available Widgets area, select a Text widget …

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

(Dragging and dropping your Text widget)
Step 5 – Configure the text widget settings.
Click on the widget title bar to configure its settings. Paste the code with the links to your contact page and graphic button into your text widget content area and click the save button …

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

![]()
Note: Remember to test all URLs before pasting scripts into your Text Widget, or the button won’t work.
*** If using WordPress version pre-4.8 ***
If 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 paste in formatted HTML content like we’re using in the example for this tutorial).
Here is some text with Automatically add paragraphs option not ticked …

(Automatically add paragraphs box not selected)
Here is some text added to a Text widget with Automatically add paragraphs option checked …

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

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

(Test the text widget to ensure you’ve set up everything correctly)
![]()
Useful Tips:
If you would like your support page to open inside a new browser window when visitors click on the support (so they don’t leave the page they’re in), then change the text widget code from this:

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

When inserting images into your sidebar menu, make sure that the width of your image does not exceed the width of your sidebar column, especially if you are using a non-responsive WordPress theme. As mentioned earlier, some themes may display elements differently depending on their templates and their layout. Some sidebars may be too wide or too narrow. If the sidebar of your theme is narrower than the width of the graphic images, then you may have to either adjust the size of your images, or the column width to make elements display correctly on your sidebar area.

(Make sure that the width of the image does not exceed the sidebar column width)
Additional Tips:
- If you don’t want to center the image in 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 your support button to any destination you like (e.g. to an external site, helpdesk, support forum, etc.) and change this anytime by editing the code in your widget.

***
This is the end of section two of this tutorial on how to use WordPress widgets.
Click on this link to access the rest of this tutorial series:
***
"This is AMAZING! I had learnt about how to use WordPress previously, but this covers absolutely everything and more!! Incredible value! Thank you!" - Monique, Warrior Forum