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 And Configure Widgets In Your WordPress Blog SidebarIn Part 1 of this step-by-step tutorial series, we explained how to use WordPress widgets and in Part Two, we explained how to configure text widgets.

In this tutorial you are going to learn how to configure other sidebar widgets.

How To Add A Categories Section

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

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

WordPress Post Categories Widget

(WordPress Categories widget)

Tip

Before adding a Categories widget to your sidebar navigation menu, we recommend configuring your post categories first …

Categories Panel

(WordPress Post Categories Panel)

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

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

  • In Title: type something that will make sense to your visitors, like “Choose A Topic…” (1)
  • Check Display as dropdown if you plan to use several categories (this significantly reduces the size of your 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 the sidebar navigation menu. (2)
  • You can leave the remaining options as the default, or see the additional notes on configuring the Categories widget below.
  • Click Save when done …

Categories Widget settings

(WordPress Categories widget settings)

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

Categories widget added to sidebar

(Categories widget added to sidebar)

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 box unchecked.
  • To display the number of posts published in each category, 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 Recent Posts

The Recent Posts widget normally appears in your sidebar navigation menu by default. All you need to do is configure the widget.

Click on the title bar to configure its settings …

Recent Posts WordPress widget

(Recent Posts widget)

There’s really very little to set up. You can add a title, select the number of posts to display and 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 …

Recent Posts WordPress widget settings

(Recent Posts WordPress widget settings)

The number of posts you have specified will now display to visitors on the sidebar navigation menu …

Recent Posts widget on sidebar

(Recent Posts widget displayed on sidebar)

Creating posts in WordPress is covered here: How To Create A New Post In WordPress

Adding Links To Your Site’s Main Pages In Your Blog Sidebar

Next, we’ll add a widget to your sidebar navigation area 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 area …

Adding a Pages widget to the sidebar

(Adding a Pages widget to the sidebar)

The Pages widget lets you configure the following settings:

  • Title: Add a title to display above your links (e.g. “Site Information“) (1)
  • Sort by: Sort how your pages display: by title (i.e. alphabetically), by page order, or page ID. (2)
  • Exclude: Prevent pages from appearing on your sidebar area (3) …

Pages Widget settings

(WordPress Pages Widget settings)

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

WordPress Pages Widget settings - sort options

(Pages Widget settings – sort options)

To prevent pages from displaying on your sidebar, enter their Page Ids separated by commas into the Exclude field …

Pages Widget settings - exclude pages

(WordPress Pages Widget settings – exclude pages)

To learn how to find a WordPress post or page ID, see this step-by-step tutorial: How To Find The ID Of Any WordPress Page Or Post

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

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

Pages Widget on sidebar

(Pages Widget on blog sidebar)

Tip

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

Display Links On Your WordPress Sidebar Navigation Area

Next, let’s add a widget that will display external links on the WordPress sidebar.

Before adding the Links widget to the sidebar, we recommend setting up your Links section inside your dashboard …

WordPress Links screen

(WordPress Links section)

Note: Configuring and using the Links feature will be explained in other tutorials.

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

WordPress Links Widget

(Links Widget)

Drag the widget to your sidebar 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 WordPress Links Widgets To Your Sidebar Navigation Area

(Add Multiple WordPress Links Widgets To The Sidebar Section)

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

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

(Links added to sidebar)

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 link lists to your sidebar navigation menu.

Adding And Configuring WordPress Widgets In The Sidebar Menu

***

This is the end of section three of this series of tutorials about how to use WordPress widgets.

To view the rest of this tutorial, click here:

***

"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