In Part One of this tutorial, we explained the basics of using WordPress widgets.
In this tutorial you will learn how to configure a number of WordPress widgets.
Sidebar Widget Configuration
By default, your site comes with a number of built-in widgets that can be used out of the box with minimal to no configuration required, such as widgets for displaying external links, recent posts, text or HTML banners, add content search features, etc.

(In a default WordPress installation, your site comes with several built-in widgets)
Adding Sidebar Widgets In WordPress: Tutorial
In this tutorial, we will add, configure and reorder various frequently-used widgets to display in the site’s sidebar navigation section, including:
- Adding a clickable Contact Us button linking visitors to the contact details page.
- Adding a Categories section.
- Adding a Recent Posts section to display your latest posts.
- Adding a list of the site’s most important Pages.
- Display Links on the sidebar menu.
- Add an RSS Feed section.
- Add a Tag Cloud section.
- Configure how your Archived Posts display on your sidebar navigation section.
The Widgets area is located inside your WP admin area and can be easily accessed from the administration menu by selecting Appearance > Widgets …

(WordPress Widgets Menu)
This opens the Widgets section into your browser …

(Widgets Panel)
Let’s begin configuring your sidebar menu widgets …
Adding Text Widgets To Your Blog Sidebar
Text widgets are incredibly versatile …

(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 navigation section or other widget sections, such as policies, videos, messages and more to your site … simply by typing in text or inserting 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 versatile!)
Example: Use A Text Widget To Add A Support Button To The Sidebar Navigation Section
For this example, let’s set up a help button on your sidebar that will take 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 visitors can click on …

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

Step 1 – Upload your image.
Upload the image to your server’s images folder and note the URL pointing to your image location.
E.g. …
http://www.yourdomain.com/images/supportbutton.jpg
You will need this information in Step 3.
For someone to be taken to the contact page when they click on the help button, you must 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 a contact page.
Create a contact page on your site and note down its URL …

Step 3 – Create the HTML code for your text widget.
Don’t worry … this sounds a lot more technical than it is. In simple terms, you just need to create the instructions linking your button image to the contact page.
Your code can be written 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 code you will need to replace with your actual contact page and image URLs …

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

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

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

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

Add a heading to your widget if you want (e.g. “Need Help?”, “Support”, etc.) and paste the code with the correct destination links into the text area, then click Save when done …

![]()
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 you’re adding text with no formatting tags like paragraph breaks, 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 formatted 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 selected)
Here is some text with Automatically add paragraphs option ticked …

(Automatically add paragraphs option checked)
***
Step 6 – Refresh your web browser.
Once you have added the text widget and formatted content, go to the front-end of your site and refresh the browser. If you have entered all of the links correctly, then your clickable support button should display at the top of your site’s sidebar menu …

(Clickable button widget on blog sidebar)
The above screenshot shows ’click for help’ button added to a brand new WordPress site.
Step 7 – Test your widget.
The final step is to ensure that your destination link works. Test the button to make sure that visitors will go to the help page when they click on the button. If you are taken to your support page, then your text widget has been set up correctly …

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

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

When adding images to your sidebar navigation area, make sure that the width of the image does not exceed the width of your sidebar column, especially if you are using a non-responsive WordPress theme. Note that some themes can display elements differently depending on their templates and layout. Some sidebars may be too wide or too narrow. If the sidebar of your theme is narrower than the width of the button image, then you may need to either adjust the image size, or the width of your sidebar column to make elements display correctly on your sidebar section.

(Adjust column width or reduce image size)
More Tips:
- If you don’t want the button to be centered in the sidebar, delete the <center> and </center> tags from the beginning and end of the line of code. The image will then be aligned to its default settings (normally left-aligned).
- Link your support button to any URL you like (e.g. to an external site, helpdesk, forum, etc.) and change this anytime by replacing the content in the text widget.

***
This is the end of section two of this tutorial about using Widgets.
Click here to keep reading:
***
"Your training is the best in the world! It is simple, yet detailed, direct, understandable, memorable, and complete." Andrea Adams, FinancialJourney.org