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 …

How To Add And Configure WordPress Widgets In The Sidebar SectionIn Part 1 of this step-by-step tutorial, we explained how to use widgets in WordPress and in Part Two, we explained how to configure text widgets.

In Part 3, we began configuring various commonly-used widgets in WordPress.

In this final section, you are going to conclude this step-by-step tutorial series by configuring a few more commonly-used widgets.

Info

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:

Add An RSS Widget To Your Blog Sidebar

Now, let’s add An RSS widget to your sidebar.

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

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 into this section.
  3. Items to display: Choose how many RSS feed items you want to show on your sidebar navigation menu from the drop-down menu.
  4. Display item content: Tick this box to show the feed item content.
  5. Display item author: Tick this box if you want to display the RSS feed item author.
  6. Display item date: Check this box to display the feed item item date.

WordPress RSS Widget settings

(RSS Widget settings)

Experiment with different widget settings to find the combination that best suits your needs.

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

RSS Widget on blog sidebar

(WordPress RSS Widget added to blog sidebar)

The screenshot below shows the RSS widget configured with additional options selected …

WordPress RSS Widget settings

(RSS Widget settings)

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

Add A Tag Cloud Widget To The WordPress Blog Sidebar

Now, let’s add a widget to display a tag list on your sidebar navigation menu.

Useful Info

Tags appearing in the widget are managed in the Tags screen …

Tags screen

(WordPress Tags area)

To insert the widget, select a Tag Cloud widget in the Available Widgets section and drag it to the active area …

WordPress Tag Cloud Widget

(Tag Cloud Widget)

There’s very little to configure. You can add a widget title, and choose whether to display items in the tag cloud using Tags or Categories. Click Save when done …

WordPress Tag Cloud Widget settings

(Tag Cloud Widget settings)

Your Tag cloud will now display on the sidebar area …

Tag Cloud widget set to display WordPress post tags

(Tag cloud set to display tags)

The screenshot below shows the Tag Cloud widget set up to display Categories instead of Tags

Tag cloud set to display WordPress categories

(Tag Cloud widget set to display WordPress post categories)

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

How To Configure The Archives Widget In Your Sidebar

To complete this tutorial, we’ll configure the Archives Widget, which is another common widget.

As you keep publishing new posts in WordPress, your older posts begin to get pushed further down the chronological list and become less visible to blog users. Your posts are still there, it’s just not as visible.

The Archives Widget lets site readers view earlier posts …

WordPress Archives Widget

(WordPress Archives Widget)

There’s very little to set up in this widget. You can add a widget title, and choose whether to display items in the sidebar widget as a dropdown menu, and display post counts . Click Save when done …

Archives Widget settings

(WordPress Archives Widget settings)

The example below shows an Archives widget configured to display posts as a dropdown menu with number of posts enabled …

WordPress Archives widget added to sidebar

(WordPress Archives Widget added to sidebar)

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

Useful Widget Tips

Here are some additional things to know about WordPress 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:

Override Default WordPress Sidebar Widgets

If you see widgets displaying on your blog sidebar that aren’t showing up in the active sidebar in your Appearance > Widgets section, it’s because with some themes, unless you add widgets to the sidebar menu, the theme will display its own default set of widgets.

For example, the site below shows a couple of widgets in the sidebar section …

Overriding Default Sidebar Widgets

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

How To Override Default Widgets

This is because the theme above is using default widgets.

As soon as you add one or more widgets to an available widget area, the placeholder widgets will your new widgets will be used instead.

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

Add a blank text widget to a widget area …

Overriding Default WordPress Sidebar Widgets

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

Overriding Default Widgets

Accessibility Mode

As we’ve shown you earlier, WordPress lets you completely reorder how content displays in areas of your website sidebars, footers and navigation menus with just a few clicks of your mouse, using drag-&-drop technology …

Rearranging sidebar layout with widgets can help to improve user experience

(Rearranging sidebar elements with widgets can help to improve your site’s visitor experience)

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

You can rearrange your sidebar elements using widgets to improve your site’s visitor experience.

If, however, you find that you are unable to drag and drop widgets around (e.g. using a mobile device that doesn’t support dragging-and-dropping), then you can still use widgets by enabling Accessibility Mode.

Enable Widget Accessibility Mode

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

To enable Accessibility Mode, log into your WordPress dashboard and go to the Widgets section …

WordPress Widgets Menu

(WordPress Widgets Menu)

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

WordPress Widgets - Screen Options

(Widgets – Screen Options)

Click link to enable accessibility mode …

Switch On accessibility mode

(Switch On accessibility mode)

Once accessibility mode 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 Accessibility Mode For Widgets

If you click on a Widget’s Add link in the Available Widgets section …

Enabling Widget Accessibility Mode

A screen displays the selected widget with options for customizing the widget’s settings, selecting the location to add the widget, with dropdown menus that let you specify the position of the widget in the selected location (e.g. position “1”, “2”, “6”, etc.) …

Enable Accessibility Mode For WordPress Widgets

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

Enabling Accessibility Mode For WordPress Widgets

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 changing its settings.

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

How To Enable Accessibility Mode For Widgets

Click on Disable accessibility mode in the Screen Options section to restore the drag and drop function to your Widgets …

Switch off accessibility mode

(Disable accessibility mode)

Create Your Own Sidebar Widgets – An Easy Cheat

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

If you want to create your own sidebar widgets, then here is an easy way:

First, create a new Post and enter the content that you would like to show on your sidebar…

Create Your Own Sidebar Widgets

Make sure that any images you plan to use are resized to fit the maximum width of the sidebar navigation section. Also, keep in mind that you don’t have a lot of room to add content on your sidebar navigation area, so try and keep your information concise.

Also, don’t worry about saving your Post – all we are really after is the content to paste into a widget.

After writing your content, click on the Text tab …

Creating Your Own Sidebar Widgets

Select everything inside your editor window and copy it to your clipboard…

Creating Your Own Sidebar Widgets

Now, 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

Creating Your Own Custom Sidebar Widgets

Your custom widget will be added to the sidebar navigation section…

Creating Your Own Custom Sidebar Widgets

(Create your own sidebar widgets)

Congratulations! Now you know how to use and configure a number of sidebar widgets.

How To Add WordPress Widgets To Your Sidebar

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!

***

"I am beyond impressed with what you have put together. I can tell that you put a ton of hard work into building what you have. You have the absolute best content on WordPress I have ever seen!" - Robert T. Jillie

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 Add Widgets To Your WordPress SidebarIn Part 1 of this step-by-step tutorial, we explained how to use WordPress widgets and in Part Two, you learned how to configure text widgets.

In this section you are going to configure other WordPress widgets.

Adding A Post Categories Widget To The Sidebar Section

Now that you know how to set up a text widget containing a clickable help button, let’s configure a widget to display Post Categories on the sidebar.

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

Categories Widget

(Post Categories widget)

Useful Tip

your your WordPress categories …

WordPress Post Categories

(Categories Panel)

Note: We are currently putting together tutorials on how to configure and use WordPress categories.

Let’s configure your Categories widget settings as shown below:

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

Categories Widget settings

(WordPress Categories widget settings)

Load the site in your browser or refresh your page to see how your sidebar categories will look to site visitors …

WordPress Categories widget added to sidebar navigation menu

(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 box, otherwise leave this box unchecked.
  • To display the number of posts published in each category on your site, tick 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 A Recent Posts Widget To The Blog Sidebar

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

Click on its title bar to configure its settings …

Recent Posts WordPress widget

(Recent Posts widget)

There’s really very little to configure in this widget. You can add a title if you want, select the number of posts to display and display post dates. If you’re happy to use the default setting for Number of posts to show, then just leave the widget as is, otherwise change the number of posts and click Save

Recent Posts widget settings

(Recent Posts widget settings)

Your most recent posts will be listed on your sidebar area …

Recent Posts widget displayed on blog sidebar

(Recent Posts WordPress widget added to sidebar)

We provide a tutorial that show you how to create and edit a post in WordPress here: How To Create A New WP Post

Add A Pages Widget To The Sidebar

Next, we’ll add a widget to your sidebar section for listing pages.

Find a Pages widget in the Available Widgets section …

WordPress Pages Widget

(WordPress Pages Widget)

Drag the Pages widget to your active widget section …

Dragging and dropping a Pages widget into your sidebar

(Dragging and dropping a Pages widget into your sidebar area)

The Pages widget allows you to configure the following options:

  • Title: Add a title to the widget (e.g. “Site Information“) (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) …

Pages Widget settings

(WordPress Pages Widget settings)

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

Pages Widget settings - sort options

(WordPress Pages Widget settings – sorting options)

To exclude pages from displaying to visitors, type or paste in their Page Ids separated by commas into the Exclude field …

WordPress Pages Widget settings - exclude pages

(Pages Widget settings – exclude pages by ID)

For a tutorial about how to find a WordPress page ID, go here: How To Locate The Unique ID Of Posts And Pages In WordPress

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

Links to your site’s pages will now show on the sidebar navigation section …

WordPress Pages Widget on sidebar

(Pages Widget on blog sidebar)

Tip

Tip: You can add multiple Pages widgets to your sidebar navigation menu. This is helpful if you want to display separate page groups on the sidebar menu (e.g. “Products”, “Legal Pages” etc.)

Display Links On The WordPress Blog Sidebar

Next, let’s add a Links widget to the sidebar.

Before adding a Links widget to the sidebar, we recommend setting up the Links feature inside the dashboard first …

WordPress Links section

(WordPress Links section)

Note: We plan to provide tutorials on how to set up and use the WordPress Links feature.

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

Links Widget

(WordPress Links Widget)

Drag it to your sidebar area …

Making Links Widget active

(Making Links Widget active)

The 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

(WordPress Links Widget Settings)

You can add as many separate ‘Link Widgets’ to your 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 WordPress Links Widgets To Your Sidebar

(Add Multiple WordPress Links Widgets To Your Sidebar Navigation Section)

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

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

(WordPress 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 sidebar navigation section

(Links added to WordPress sidebar)

As the above example shows, you can display specific external 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.

How To Use Widgets In WordPress

***

This is the end of part 3 of this series of tutorials on using Widgets.

Click on this link to read the rest of this tutorial series:

***

"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

How To Use And Configure WordPress Widgets – Part 2

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

Adding And Configuring WordPress Widgets In The BlogIn Part 1 of this step-by-step tutorial series, we cover the basics of using WordPress widgets.

In this section you will learn how to begin configuring a number of widgets in WordPress.

Configuring Sidebar Widgets

By default, your site comes with several built-in widgets that can be used out of the box with little to no configuration needed, such as widgets that let you display external links, recent posts, news items, adding search features, etc.

In a default WordPress installation, your site comes with a number of preinstalled widgets

(In a default WordPress installation, your site comes with several built-in widgets)

How To Set Up Widgets On Your Sidebar: Step-By-Step Tutorial

In this tutorial, we will add, configure and reorder various widgets, including:

  • Adding a Help graphic button linking visitors to the help page.
  • Add a Categories section with a drop down menu.
  • Adding a Recent Posts section to display your latest posts.
  • Adding a list of Pages.
  • Display Links on your sidebar section.
  • Displaying newsfeeds with an RSS Feed section.
  • Add a Tag Cloud section.
  • Adding and configuring an Archives section to your sidebar navigation menu.

To access the Widgets section log into the WP administration and go to Appearance > Widgets

Understanding WordPress For Newbies: About WordPress Widgets

(Widgets Menu)

This opens the Widgets area into your browser …

Widgets Area

(Widgets Panel)

Let’s get started …

Text Widgets

Text widgets are quite useful …

WordPress Text widget

(Text widget)

Useful Information

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 lets you insert just about anything you want into your sidebar navigation area or other widget sections, such as article snippets, maps and directions, messages and more to your site … simply by typing in text or inserting HTML into the widget content area. You can also give the widget a title. Remember to save your settings when done …

A text widget is extremely versatile

(A text widget is really versatile!)

Example: Using A Text Widget To Add A Help Button To The Sidebar Navigation Section

For this example, let’s set up a clickable support button on the sidebar navigation area 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, you will need to create or source a “help button” graphic image that you will use on your own site …

Add A Clickable Support Button To Your Sidebar Section Using A Text Widget

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

Add A Clickable Help Button To The Sidebar Navigation Area Using A Text Widget

Step 1 – Upload your image.

To display the image on your site, the button image must be uploaded to your server. Upload your button image to a folder on your server and write down the address of your image location.

E.g. …

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

You will use this information in Step 3.

In order for someone to go to the contact page when the graphic button gets clicked, you must either create a contact page, or have an existing destination page already set up (e.g. a helpdesk). We will link your button image to this URL in Step 3

Step 2 – Add your support page.

Create a contact page and note its URL …

Using A Text Widget To Add A Support Button To The Sidebar Navigation Menu

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, you just need to create the instructions for your clickable button.

Your instructions can be typed in a plain text file and should look something like this …

Add A Clickable Contact Button To The Sidebar Navigation Menu Using A Text Widget

  • Replace “http://www.yourdomain.com/contact-us” in the code 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 screenshot below shows which sections of the above sample code you will need to replace with your actual contact details …

Add A Clickable Contact Button To Your Sidebar Area Using A Text Widget

Replace the above URLs and then copy the above code to your clipboard when finished.

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

Next, go back to your Widgets screen …

Activate or deactivate widgets using drag-and-drop

(Widgets Panel)

Step 4 – Add a Text widget.

Add a Text widget to your sidebar where you would like your support button to display.

In the Available Widgets area, select the Text widget …

Text widget

(Text widget)

Drag your 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

(Drag and drop your WordPress text widget)

Step 5 – Configure your text widget settings.

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

Text widget

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

Text widget

Important

Note: Make sure to test your contact page and button image links before pasting scripts into your Text Widget, or your button won’t work.

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

If 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 paragraphs (note: not required if you paste in HTML content like we’re doing in this tutorial).

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

Automatically add paragraphs option not selected

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

(Automatically add paragraphs box ticked)

***

Step 6 – Refresh the web browser.

Once you have added your text widget and code content, visit the front end of your site and refresh your web browser. If all links have been entered correctly, then your support button should display in your sidebar menu …

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

(Clickable button widget on blog sidebar)

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

Step 7 – Test the widget.

The last step is to ensure that your destination link works. Test the button to make sure that your visitors will go to your help page when clicking the graphic image. You should be taken directly to the contact page …

Test the text widget

(Test the clickable button)

Tip

Useful Tips:

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

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

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

Using A Text Widget To Add A Clickable Support Button To The Sidebar Menu - open in new window

When adding images to 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. Note that some themes may display elements differently depending on their templates and layout. Some sidebars are wide and some are narrow. If your theme’s sidebar is narrower than the width of the button images, then you may need to either adjust the size of your images, or the width of your sidebar column to make images display correctly on your sidebar section.

Adjust column width or reduce image size

(Make sure the width of the image does not exceed the sidebar column width)

Extra Tips:

  • If you don’t want the button to be centered in your 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).
  • Link the contact button to any URL you like (e.g. to an external site, helpdesk, support forum, etc.) and change this anytime by editing the code inside your text widget.

Adding And Configuring WordPress Widgets In Your Sidebar Area

***

This is the end of part 2 of this tutorial.

Click here to continue:

***

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