How To Use And Configure WordPress Widgets – Part 4

Learn how to add and configure various useful WordPress widgets on your sidebar and how to create custom sidebar widgets.

Using Widgets In WordPressIn Part 1 of this step-by-step tutorial, we explained how to use widgets in WordPress and in Part Two, you learned how to configure a text widget.

In Part 3, we began configuring various default widgets.

In this final installment, we will complete the tutorial by configuring a few more commonly-used sidebar widgets.

Important

In WordPress v. 4.8, WordPress introduced new media widgets covering images, audio, and video, and an updated text widget that supports visual editing

WordPress 4.8 - WordPress Widget Updates

(WordPress 4.8 introduced new widget updates)

These widgets let you add content from your media library and media stored in other servers or storage locations (e.g. Google Drive, Dropbox, Amazon S3, etc.).

Let’s go through how to configure and use each of these widgets:

Rich Text Widget

From version 4.8 onward, WordPress has added native rich-text editing capabilities to text widgets …

Rich Text Widget

(Rich Text Widget)

This lets you format text, create lists, add emphasis, and insert links into your sidebar text quickly and easily …

(Format text easily with the new text widget)

To learn more about using text widgets in WordPress, see the tutorial below:

WordPress Image Widget

The WordPress Image Widget lets you add an image to your sidebar from your Media Library or an external storage location.

To add an image, drag an image widget to your active widgets area …

Image Widget

(Image Widget)

Click on ‘Add Image’ …

Let's add an image!

(Let’s add an image!)

Select an image from the Image Library, check or add image details (e.g. Caption, Alt text, Description, etc.) if desired and click the ‘Add to Widget’ button …

Select an image

(Select an image)

The image will automatically load into the widget area …

Image added to widget

(Image added to widget)

Add a Title to your image if you want, or leave the ‘Title:’ field blank and click ‘Save’ …

Save your image

(Save your image)

Preview your website and you should see the image displayed where you have placed your image widget …

Image added to website using image widget

(Image added to website using WordPress image widget)

If you want to link your image to an URL, go back to your image widget and click on ‘Edit Image’ …

Image Widget - Edit Image

(Image Widget – Edit Image)

Add a URL in the ‘Image Details’ > ‘Display Settings’ > ‘Link To’ screen and click the ‘Update’ button …

Link your image to an URL

(Link your image to an URL)

To add an image stored in an external server or remote location, locate and copy the URL of the image to your clipboard …

Copy image URL to your clipboard

(Copy image URL to your clipboard)

Go back to your image widget and click on ‘Replace Image’ …

Image Widget - Replace image

(Image Widget – Replace image)

The Media Library browser opens. Click on ‘Insert from URL’ and paste in the image URL copied to your clipboard, then click on ‘Add to Widget’  …

Add image URL

(Add image URL)

If you have previously added an image title in your widget, remember to replace it if required, then click ‘Save’ …

Save your new image

(Save your new image)

The new image will now display on your sidebar …

New image added using WordPress image widget

(New image added using WordPress image widget)

To learn more about adding images to WordPress, see this tutorial:

WordPress Video Widget

The WordPress Video Widget lets you add audio files to your sidebar from your Media Library, YouTube, Vimeo, or an external storage location.

To add a video to the sidebar, drag a Video widget to your active widgets area …

Drag a Video widget to your sidebar

(Drag a Video widget to your sidebar)

Click the ‘Add Video’ button …

Video widget - Add Video

(Video widget – Add Video)

Select a video from your media library or add a video URL and click the ‘Add to Widget’ button …

Add a video URL

(Add a video URL)

Add a title to the widget if desired and click ‘Save’ …

WordPress Video Widget - Save Button

(WordPress Video Widget – Save Button)

Your video will display on your site where the video widget has been added …

Video added using WordPress video widget

(Video added using WordPress video widget)

To learn more about adding video to WordPress, see this tutorial:

WordPress Audio Widget

The WordPress Audio Widget lets you add audio files like podcasts, music or a personal greeting to your sidebar from your media library or an external storage location.

To add an audio file to your sidebar, drag an audio widget to your active widgets area …

Add an audio widget to your sidebar

(Add an audio widget to your sidebar)

Click the ‘Add Audio’ button…

WordPress Audio Widget - Add Audio button

(WordPress Audio Widget – Add Audio button)

Select an audio file from your media library or insert the URL of an audio file stored in an external location …

Select your audio file

(Select your audio file)

Add a title to your widget if desired and click the ‘Save’ button …

Save the audio file on your audio widget

(Save the audio file on your audio widget)

Your site will now display an audio file to visitors where you have placed the audio widget …

Audio file added to your site using the WordPress Audio Widget

(Audio file added to your site using the WordPress Audio Widget)

To learn more about adding audios to WordPress, see this tutorial:

Adding An RSS Widget To The Blog Sidebar

Let’s now add An RSS widget to your sidebar navigation area.

To add the widget, find an RSS widget in the Available Widgets section and drag it to your sidebar area …

WordPress RSS Widget

(RSS Widget)

Enter the following information into the widget settings:

  1. RSS feed URL: Paste the URL of your RSS feed here.
  2. Feed Title: If you want to add an optional widget title, type it here.
  3. Items to display: Select the number of RSS feed items you would like to show in the sidebar navigation area from the drop-down menu.
  4. Display item content: Check this box if you would like to display the RSS feed content.
  5. Display item author: Tick this box if you want to show the RSS feed item author.
  6. Display item date: Check this box if you would like to display the item item date.

WordPress RSS Widget settings

(RSS Widget settings)

Experiment with different options to find the ideal combination for you.

The example below shows the RSS widget configured as per the settings shown above …

WordPress RSS Widget on blog sidebar

(WordPress RSS Widget displayed on sidebar)

The screenshot below shows the RSS Feed widget configured using some of the other options selected …

RSS Widget settings

(WordPress RSS Widget settings)

To learn more about using RSS feeds in WordPress, see this tutorial:

Add A Tag Cloud Widget

Let’s add A Tag Cloud widget to your sidebar.

Info

Tags appearing in the Tag Cloud widget are listed in the Tags screen …

WordPress Tags area

(WordPress Tags screen)

To add the widget, find a Tag Cloud widget in the Available Widgets section and drag it to the sidebar area …

Tag Cloud Widget

(WordPress Tag Cloud Widget)

There is really not much to set up. You can add a title, and choose whether to display items in the tag cloud using Tags or Categories. Click Save when finished …

WordPress Tag Cloud Widget settings

(Tag Cloud Widget settings)

Your Tag cloud will now display on the sidebar …

Tag cloud set to display post tags

(Tag Cloud widget set to display WordPress tags)

The screenshot below shows the Tag Cloud widget configured for showing Categories instead of Tags

Tag cloud set to display categories

(Tag Cloud widget displaying post categories)

To learn more about using post tags in WordPress, see this tutorial:

How To Configure Your Archives Widget In The Blog Sidebar

To complete this tutorial series, we’ll configure the Archives Widget, which is another commonly-used WordPress widget.

As you continue publishing new posts in WordPress, your older posts begin to get pushed further down the chronology list and become less visible to site users. Your content is still there, it’s just not as visible.

The Archives Widget allows visitors to view earlier posts …

WordPress Archives Widget

(WordPress Archives Widget)

There is very little to set up here. You can add a widget title, and choose whether to display items in your sidebar as a dropdown menu, and show the number of posts . Click Save when finished …

Archives Widget settings

(Archives Widget settings)

The example below shows the Archives widget configured to show posts as a dropdown menu with number of posts checkbox enabled …

WordPress Archives widget displayed on sidebar section

(WordPress Archives Widget on blog sidebar)

Now that you know how to configure your default WordPress sidebar widgets, let’s explore some other aspects of WordPress widgets.

Useful Widget Tips

Here are some useful things to know about widgets:

Add ‘Visibility’ Function To Widgets

Installing the Jetpack plugin not only adds many new widgets to your widgets area …

Jetpack Widgets

(Jetpack Widgets)

It also adds a useful ‘Visibility’ function to all WordPress widgets …

Jetpack adds 'Visibility' to all widgets

(Jetpack adds ‘Visibility’ to all widgets)

This function lets you specify whether to display or hide widgets from your sidebar based on conditions you set for a particular category, author, user. role, tag, date, or page …

Set conditions to show or hide widgets

(Set conditions to show or hide widgets)

This is a really useful function to have.

For example, you can:

  • Display a widget only on your home page or only on posts published under certain categories, tags, authors, dates, etc.
  • Configure widgets to display specific or time-sensitive announcements based on a post’s category, date, etc.
  • Configure widgets to display targeted ad banners based on a post’s category or tag.
  • Hide widgets from appearing on certain posts or pages to prevent users from being distracted (e.g. remove widgets with ads from your sales pages).
  • And more!

To learn more about using the Jetpack plugin, go here:

How To Override Default Sidebar Widgets

If you see widgets appearing on your site’s sidebar menu that aren’t showing up under the active sidebar in the Appearance > Widgets section, it’s because some themes will display their own default set of widgets until you add widgets to your sidebar navigation area.

For example, the site below shows some widgets in the blog sidebar …

How To Override Default Widgets

If you look in the Widgets area, however, you may find that no widgets have been added to any of the available widget areas …

Override Default WordPress Sidebar Widgets

The above theme is obviously using default widgets.

As soon as you add one or more widgets to an available widget area, the other widgets will disappear and be replaced with your newly-added widgets instead.

Note: If you want nothing to display in your sidebar navigation area, either use a theme page template without a widgets layout or just add a blank Text widget to your sidebar section.

Just add a blank text widget …

Override Default Widgets

And the default widgets will not appear in the sidebar/footer section …

How To Override Default Widgets

Widget Accessibility Mode

As we’ve shown you previously, WordPress lets you easily and quickly rearrange how content displays in areas of your website sidebars, footers and navigation menus with only a few clicks of your mouse, using drag-&-drop …

Reorganize sidebar elements using widgets to improve user experience

(Rearrange sidebar layout using widgets to improve visitor experience)

In the above screenshot, for example, you can see that we have rearranged the site’s sidebar section by switching the search and testimonial sections. This is easily done by simply dragging and dropping the widget elements into different positions inside the sidebar widget area.

Reorganizing sidebar layout with widgets can help improve visitor experience.

If, however, you find that you cannot move widgets using drag-and-drop (e.g. using a mobile device that doesn’t support dragging-and-dropping), then you can still use widgets if you enable Accessibility Mode.

How To Enable Widget Accessibility Mode

Enabling Accessibility Mode, via Screen Options, lets you use Add and Edit buttons instead of dragging and dropping.

To enable Accessibility Mode, log into your admin area and go to the Widgets section …

WordPress Widgets Menu

(WordPress Widgets Menu)

Click on Screen Options on the top right hand corner of the screen …

Widgets - Screen Options

(WordPress Widgets – Screen Options)

Click on Enable accessibility mode

Enable accessibility mode

(Switch On accessibility mode)

Once the feature has been enabled, the widgets in the Available Widgets section will display an Add link, and the widgets in the Active Widgets section will display an Edit link …

Enable Widget Accessibility Mode

Click on a Widget’s Add link in the Available Widgets section …

How To Enable Accessibility Mode For WordPress Widgets

A screen displays the selected widget with options for customizing the widget’s settings, selecting a location to add the widget, and drop-down menus for specifying the position of the widget in your selected location (e.g. position “1”, “2”, “5”, etc.) …

Enabling Accessibility Mode For WordPress Widgets

Click Save Widget to add the widget to your Active Widgets section, or Cancel to go back to the previous screen …

Enable Widget Accessibility Mode

Click on an active widget’s Edit link …

How To Enable Accessibility Mode For Widgets

A screen will display the selected widget with options for editing its settings.

Click Save Widget to update your settings and go back to the Active Widgets screen, or click the Delete button to remove the widget from the Active Widgets section …

How To Enable Widget Accessibility Mode

Click on Disable accessibility mode in the Screen Options section to go back to using drag & drop …

Disable accessibility mode

(Turn off accessibility mode)

Creating Your Own Sidebar Widgets

Most of the widgets that you will use will either be installed by default when you create a new WordPress site, or be automatically added to your Available Widgets section when you install new plugins on your site.

Here is an easy way to create your own sidebar widget:

First, create a new Post and type in the content that you would like to display on the sidebar…

Create Your Own Custom Sidebar Widgets

Make sure that any images you use are resized to fit the maximum width of the sidebar area. Also, keep in mind that there’s no a lot of room to add content on the blog sidebar, so keep your information concise.

Also, don’t worry about publishing your Post – all we need is the content so we can paste it into the widget.

After composing your content, click on the Text tab …

Create Your Own Sidebar Widgets

Select everything in your text editor window and copy it to your clipboard…

Create Your Own Custom Sidebar Widgets

Next, go into your Widgets Area.

Add a new Text widget to your sidebar, paste the content from your clipboard into the content field and click Save

How To Create Your Own Sidebar Widgets

Your new custom widget is now added to the sidebar…

Creating Your Own Custom Sidebar Widgets

(Create your own custom sidebar widgets)

Congratulations! Now you know how to use and configure your WordPress sidebar widgets.

How To Add WordPress Widgets To Your Sidebar Area

Subscribe below & receive 101+ useful WordPress tips that will help grow your business online faster ...

101+ WordPress Tips, Tricks & Hacks For Non-Techies

Get 101+ Powerful WordPress Tips, Tricks & Hacks For Non-Techies ... 100% FREE!

Enter your details below and we'll send you 101+ useful WordPress tips, tricks and hacks directly to your inbox:

We will never SPAM you!

***

"These tutorials have so much information and are easy to understand. If you use WordPress or plan to in the future these will help you with everything you need to know." - Valisa (Mesa, Arizona)

How To Use And Configure WordPress Widgets – Part 3

Learn how to add and configure a number of useful widgets on your WordPress sidebar.

How To Use WidgetsIn Part One of this tutorial, we explained how to use widgets in WordPress and in Part 2, you learned how to configure text widgets.

In this section we are going to show you how to configure other frequently-used WordPress sidebar widgets.

Add Categories

Now that you know how to set up a text widget containing a clickable contact button, let’s configure a widget for displaying Post Categories on your sidebar.

The Categories widget displays on the sidebar by default. All you need to do, therefore, is place this widget wherever you want your categories to display by clicking and dragging it on the sidebar widget area …

WordPress Categories Widget

(WordPress Post Categories widget)

Useful Tip

your your WordPress categories …

Categories Panel

(WordPress Post Categories)

Note: We are currently putting together tutorials on using post categories in WordPress.

Configure your categories widget settings as described below:

  • In Title: type something that your visitors will understand, like “Choose A Topic…” (1)
  • Check Display as dropdown if you plan to have several categories (this significantly reduces the length of the widget content by displaying all categories inside a drop-down menu). Leave the box unticked if you want a list of all categories to display on the sidebar. (2)
  • You can leave the remaining options unticked, or see the additional notes on configuring the Categories widget below.
  • Click Save when finished …

Configuring a Categories Widget

(Categories widget settings)

Load the site in your web browser or refresh your page to see how your content will display to your visitors …

WordPress Categories widget added to sidebar navigation section

(WordPress Categories widget added to sidebar)

Useful Tip

Tips:

  • Change the default Uncategorized post category to something more meaningful.
  • If you use nested categories on your site, you may want to check the Show hierarchy option, otherwise leave this section as is.
  • To display the number of posts published in each category on your site, enable the Show post counts check box …

Category widget options - Post Count Enabled vs Post Count Disabled

(Category widget options – Post Count Enabled vs Post Count Disabled)

Add Recent Posts

The Recent Posts widget is normally added to the sidebar by default. All you need to do is configure the widget.

Click on the title bar to display the configuration settings …

Recent Posts WordPress widget

(Recent Posts WordPress widget)

There is really very little to configure. You can add a widget title, select the number of posts to display and opt to display post dates. If you want to use the default setting for Number of posts to show, then just leave the widget as is, otherwise enter the number of posts to show and click Save when done …

Recent Posts WordPress widget settings

(Recent Posts widget settings)

Your most recent posts will appear on your sidebar …

Recent Posts widget on sidebar

(Recent Posts WordPress widget added to sidebar)

A tutorial is provided on creating WordPress Posts here: How To Create A New WordPress Post

Displaying Your Site’s Pages In The WordPress Sidebar Navigation Section

Next, we’ll add a widget to your sidebar to display page links.

Find a Pages widget in the Available Widgets section …

WordPress Pages Widget

(Pages Widget)

Drag the Pages widget to your widget section …

Dragging and dropping a Pages widget into your sidebar navigation section

(Adding a Pages widget to the sidebar navigation menu)

The Pages widget lets you configure the following settings:

  • Title: Add a title to display above your links (e.g. “Useful Sections“) (1)
  • Sort by: Sort how your pages display: by title (i.e. alphabetically), by page order, or by page ID. (2)
  • Exclude: Hide selected pages on your sidebar (3) …

WordPress Pages Widget settings

(WordPress Pages Widget settings)

By default, pages are displayed by title in alphabetical order. If you want to display pages using one of the other options, then select a different method from the Sort by: drop-down menu …

Pages Widget settings - sort options

(WordPress Pages Widget settings – item sorting options)

To prevent certain pages from displaying in the widget, type or paste in the Page Ids for all the pages you would like to exclude separated by commas into the Exclude field …

WordPress Pages Widget settings - exclude pages

(WordPress Pages Widget settings – exclude pages)

To learn how to find a WordPress post or page ID, see this tutorial: Finding A WordPress Page Or Post ID

Click the Save button when done and click Close at the bottom of the widget box to minimize your widget.

Links to your site’s main pages will now show in your sidebar …

Pages Widget on sidebar

(Pages Widget on blog sidebar)

Tip

Tip: You can add multiple Pages widgets to your sidebar. This is helpful if you would like to display different groups of pages on your sidebar (e.g. “Products”, “Legal Pages” etc.)

Display Links On Your Sidebar Area

Now, we’ll add a Links widget to the sidebar section.

Before adding the Links widget to the sidebar, you will first need to configure the Links section inside your WP dashboard …

WordPress Links screen

(WordPress Links section)

Note: We are currently putting together tutorials on configuring and using the WordPress Links feature.

To add the widget, find a Links widget in the Available Widgets section …

Links Widget

(Links Widget)

Drag it to your active area …

Making Links Widget active

(Making Links Widget active)

The Links widget offers a number of configurable options, including the ability to specify what information to show about your links and how many links you want to display on the sidebar …

Links Widget Settings

(Links Widget Settings)

You can add as many separate ‘Link Widgets’ to the sidebar as you want. As you will see in a moment, this lets you create and display specific lists of links on your site …

Add Multiple Links Widgets To The Sidebar Menu

(Add Multiple WordPress Links Widgets To Your Sidebar)

You can sort links by Link title, Link rating, Link ID, or display links in Random order …

Links widget: 'Sort by:' drop-down menu

(Links widget: ‘Sort by:’ drop-down menu)

You can also create and display a list of items for a specific category, by selecting a link category from the ‘Select Link Category’ drop-down menu …

Links widget: 'Select Link Category' drop-down menu

( WordPress Links widget: ‘Select Link Category’ drop-down menu)

When you have finished configuring your Links Widget, click the Save button …

Links added to WordPress sidebar

(External links added to sidebar navigation area)

As the above example shows, you can display specific links to your site visitors (e.g. a list for a specific link category only), and add multiple lists of links to the WordPress sidebar navigation section.

How To Add And Configure Widgets In WordPress

***

This is the end of part three of this tutorial.

Click on this link to keep reading:

Get Thrive Leads for WordPress

***

"I was absolutely amazed at the scope and breadth of these tutorials! The most in-depth training I have ever received on any subject!" - Myke O'Neill, DailyGreenPost.com

***

How To Use And Configure WordPress Widgets – Part 2

Learn how to add, configure, and use text widgets on your WordPress sidebar.

How To Add And Configure WordPress Widgets In The WebsiteIn Part One of this tutorial series, we explained the basics of using WordPress widgets.

In this section you will learn how to configure various sidebar widgets in WordPress.

How To Configure Widgets

In a default WordPress installation, your site comes with a number of pre-installed widgets that can be used out of the box with minimal to no configuration required, such as widgets that let you display links to your pages, filter posts by categories, newsfeeds, filter content by tags, etc.

By default, your site comes with several preinstalled widgets

(By default, your site comes with a number of preinstalled widgets)

How To Configure Sidebar Widgets: Tutorial

In this step-by-step tutorial series, we are going to add, configure and reorder various WordPress widgets to display in the site’s sidebar, including:

  • Adding a Help image linking visitors to the contact page.
  • Add a Categories section.
  • Add a Recent Posts section.
  • Add a list of your site’s Pages.
  • Display useful Links on the sidebar section.
  • Adding an RSS Feed section.
  • Add a Tag Cloud.
  • Configure how Archived Posts display on your sidebar.

To access the Widgets panel go to Appearance > Widgets

Understanding WordPress For Newbies: About WordPress Widgets

(WordPress Widgets Menu)

This brings up the Widgets section in your web browser …

Widgets Panel

(Widgets Area)

Let’s get started …

Adding Text Widgets To Your Blog Sidebar

Text widgets are incredibly versatile …

Text widget

(WordPress Text widget)

Important Info

Rich Text Widget

From version 4.8 onward, WordPress has added native rich-text editing capabilities to text widgets …

Rich Text Widget

(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)

A text widget can be used to add lists, images, forms and more to your site … just by typing in text or adding HTML into the widget content area. You can also give the widget a title. Remember to save your settings when done …

Text widgets are really versatile

(Text widgets are versatile!)

Example: Using A Text Widget To Add A Clickable Support Button To The Sidebar Section

For this example, we’ll set up a support button on your sidebar 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, create or source a “help button” graphic image that your visitors can click on …

Add A Clickable Help Button To Your Sidebar Menu Using A Text Widget

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

Add A Contact Button To Your Sidebar Navigation Menu Using A Text Widget

Step 1 – Upload your image.

To display an image on your site, you must first upload the graphic image to your server’s images folder and note the path to your server’s image location.

E.g. …

http://www.yourdomain.com/images/supportbutton.jpg

This information will be required in Step 3.

For visitors to be taken to your contact page when the graphic button gets clicked, either create a contact page, or have an existing destination page already set up (e.g. a helpdesk). We will link the button image to this URL in Step 3

Step 2 – Create a contact page.

Create a contact page and note down its URL …

Add A Clickable Help Button To Your Sidebar Navigation Menu Using A Text Widget

Step 3 – Compose the code for your text widget.

If you’re not a technical-minded person, don’t worry … this sounds a lot more technical than it is. In simple terms, you just need to create the instructions for your clickable image.

Your code can be typed into a simple text editor and should look something like this …

Use A Text Widget To Add A Clickable Help Button To Your Sidebar Navigation Area

  • 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 above with the URL of your image location.

The screenshot below shows the sections of the above sample code that you need to replace with the actual web addresses …

Using A Text Widget To Add A Support Button To Your Sidebar Area

Replace the above URLs and then copy all of your text file content to your clipboard when finished.

If you need help figuring out basic HTML code, refer to this tutorial:

Go back into your Widgets area …

Activate or deactivate widgets using drag-and-drop

(Widgets Area)

Step 4 – Add a Text widget.

Add a Text widget to your sidebar in the location where your button should display.

In the Available Widgets area, find the Text widget …

Text widget

(WordPress text widget)

Drag your Text widget to the Active Widgets section and release it at the very top of the Widget Area

Drag-and-drop your WordPress text widget

(Drag-and-drop your WordPress text widget)

Step 5 – Configure your text widget settings.

Click on the widget title bar to configure its options. Paste the code with the URLs to your contact page and graphic button into your text widget content area and click save …

WordPress text widget

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

WordPress text widget

Useful Information

Note: Make sure to check your contact page and image links before pasting scripts into your Text Widget, or the button will not work.

*** If using WordPress version pre-4.8 ***

If you’re adding text without 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: this is not necessary if you’re pasting in code like we’re doing in this tutorial).

Here is some text with Automatically add paragraphs box not checked …

Automatically add paragraphs option not ticked

(Automatically add paragraphs box not ticked)

Here is some text added to a Text widget with Automatically add paragraphs box ticked …

Automatically add paragraphs option selected

(Automatically add paragraphs option selected)

***

Step 6 – Refresh the web browser.

After adding the widget and code, visit your site and refresh your web browser. If you have entered all of the links correctly, then the support button will display in your site’s sidebar menu …

Use A Text Widget To Add A Help Button To Your Sidebar Section

(Clickable support button widget on sidebar)

The above screenshot shows the contact button in the sidebar of a newly-installed WordPress site.

Step 7 – Test your widget.

The final step is to ensure that the clickable button works. Test your button to make sure that visitors will go to your contact page when clicking the button. If you are taken directly to the contact page, then the text widget has been set up correctly …

Test your text widget

(Test your text widget)

Tip

Text Widgets – Useful Tips:

If you would like a new browser window to open up when visitors go to the support page (so they don’t leave the page they’re on), then change the code from this:

Use A Text Widget To Add A Clickable Contact Button To The Sidebar Area

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

Add A Clickable Contact Button To Your Sidebar Menu Using A Text Widget - open in new window

When adding images to your sidebar navigation 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. Note that some themes may display elements differently depending on their templates and their layout. Some sidebars may be wider or narrower. 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 width of your sidebar column to make the images display correctly on your sidebar.

Adjust column width or reduce image size

(Adjust column width or reduce image size)

Additional Tips:

  • If you don’t want to center the button image in the sidebar, delete the <center> and </center> tags from the beginning and end of the line of code. The image will then align to the left.
  • You can link your help button to any destination you want (e.g. to an external site, contact form, support forum, etc.) and change this anytime by editing the links in your widget.

How To Add Widgets To Your WordPress Blog Sidebar Section

***

This is the end of part two of this series of tutorials about how to use Widgets.

To keep reading, click here:

***

"Wow! I never knew there's so much to learn about WordPress! I bought one of the WordPress for Dummies three years ago, such authors need to be on this course!" - Rich Law, Create A Blog Now

***