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 Use Widgets In WordPressIn Part 1 of this tutorial, we explained how to use widgets in WordPress and in Part 2, we explained how to configure text widgets.

In Part 3, we began configuring a number of widgets in WordPress.

In this final installment, you are going to conclude this tutorial series by learning how to configure a few more frequently-used WordPress 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 A Newsfeed Section

Now, let’s add a widget to your sidebar that displays news updates from RSS feeds.

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

RSS Widget

(WordPress RSS Widget)

Enter the following information into the widget settings:

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

RSS Widget settings

(WordPress RSS Widget settings)

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

The example below shows the RSS widget configured using the above settings …

RSS Widget on sidebar

(RSS Widget on sidebar navigation menu)

The screenshot below shows an RSS Feed widget configured with other 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 Section

Let’s add A Tag Cloud widget to display a tag list on the sidebar navigation menu.

Important

Tags appearing in your widget are managed in the Tags section …

WordPress Tags area

(WordPress Tags screen)

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

WordPress Tag Cloud Widget

(WordPress Tag Cloud Widget)

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

Tag Cloud Widget settings

(WordPress Tag Cloud Widget settings)

Your Tag cloud will now display on the sidebar …

Tag Cloud widget displaying WordPress post tags

(Tag cloud set to display WordPress post tags)

The example below shows an Tag Cloud widget set for showing Categories instead of Tags

Tag cloud displaying categories

(Tag Cloud widget displaying post categories)

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

Configuring The WordPress Archives Widget

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

As you publish new posts in WordPress, your older posts begin to move further away from public view. Your posts are still there, it’s just not as visible.

The Archives Widget lets your blog readers view your previously published WordPress posts …

WordPress Archives Widget

(WordPress Archives Widget)

There is not much to set up in this widget. You can add a title if you want, and choose whether to display items in the sidebar as a dropdown menu, and display post counts . Click Save when finished …

WordPress Archives Widget settings

(Archives Widget settings)

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

WordPress Archives widget displayed on sidebar

(WordPress Archives Widget displayed on sidebar)

Now that you know how to configure a number of widgets, let’s explore some other useful aspects of using WordPress widgets.

Useful Widget Tips

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

Overriding Default Sidebar Widgets

If you see widgets displaying on your blog sidebar area that aren’t listed in the active sidebar inside the Appearance > Widgets section, it’s because some themes will display their own default set of widgets until you add widgets to your sidebar.

For example, this site displays widgets in the sidebar area …

Overriding Default Sidebar Widgets

If you look inside the Widgets area, however, you will see that no widgets have been added to the active widget areas …

How To Override Default WordPress Sidebar Widgets

The theme above is probably using default widgets.

As soon as you add one or more widgets to an available widget area, the other widgets will disappear and the widgets you want added will be used instead.

Note: If you don’t want anything to show up in the sidebar navigation area, either use a theme page template without a widgets layout or just add a blank Text widget to the sidebar navigation menu.

Just add a blank text widget …

Override Default Widgets

And the default widgets won’t show in the sidebar/footer section …

Overriding Default WordPress Sidebar Widgets

Accessibility Mode

As we’ve explained earlier, WordPress lets you easily rearrange how content is displayed in widgetized areas of your website or blog, like sidebars, footers and navigation menus with only a few clicks of your mouse, using drag-&-drop …

Rearranging sidebar layout with widgets can help to improve visitor experience

(Reorganizing sidebar elements with widgets can help to improve your site’s user experience)

In the screenshot above, for example, you can see that we have reorganized the layout in the sidebar area 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 user 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), you can still work with widgets by enabling Accessibility Mode.

Enable Accessibility Mode For Widgets

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 administration area and go to the Widgets section …

WordPress Widgets Menu

(Widgets Menu)

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

Widgets - Screen Options

(WordPress Widgets – Screen Options)

Click on Enable accessibility mode

Enable accessibility mode

(Enable accessibility mode)

Once accessibility mode has been enabled, the widgets in the Available Widgets and the Active Widgets sections, widgets will display an Add and Edit links respectively …

Enable Accessibility Mode For WordPress Widgets

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

How To Enable Accessibility Mode For Widgets

A screen opens up the selected widget with options for customizing its settings, selecting the location to add the widget, plus drop-down menus for specifying the position of the widget in the widget area (e.g. position “1”, “3”, “5”, etc.) …

Enable Widget Accessibility Mode

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

How To Enable Accessibility Mode For Widgets

Click on an active widget’s Edit link …

Enabling Widget Accessibility Mode

A screen displays the selected widget with options for modifying its settings.

Click Save Widget to return to the Active Widgets section, or click the Delete button to delete the widget from the Active Widgets section …

Enable Widget Accessibility Mode

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

Turn off accessibility mode

(Disable accessibility mode)

Creating Your Own Sidebar Widgets – A Simple Cheat

Most widgets 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 website.

If you want to create your own custom sidebar widgets, then here is a really simple and easy way:

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

Creating Your Own Sidebar Widgets

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

Also, don’t worry about saving your Post – all we really want is the content HTML to paste into the custom sidebar widget.

After writing your content, switch to the Text tab …

Create Your Own Custom Sidebar Widgets

Select and copy everything to your clipboard…

Create Your Own Custom Sidebar Widgets

Now, go into your Widgets Screen.

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

How To Create Your Own Custom Sidebar Widgets

Your new widget will be added to your sidebar navigation area…

Create Your Own Custom Sidebar Widgets

(Create your own custom sidebar widgets)

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

How To Add WordPress Widgets To Your Site

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

***

"This is an awesome training series. I have a pretty good understanding of WordPress already, but this is helping me to move somewhere from intermediate to advanced user!" - Kim Lednum