Blog

How To Use And Configure WordPress Widgets – Part 3

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

Adding And Configuring Widgets On Your SidebarIn Part One of this tutorial, we explained how to use WordPress widgets and in Part 2, we explained how to configure text widgets.

In this tutorial you will configure other widgets.

Adding Categories To Your Blog Sidebar

Now that you have set up a text widget containing a clickable help button, let’s configure Post Categories.

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

WordPress Categories Widget

(WordPress Categories widget)

Practical Tip

your categories …

WordPress Post Categories

(Post Categories)

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

Configure your Categories widget settings as shown below:

  • In Title: type something that blog readers will understand, for example, “Choose A Topic…” (1)
  • Check Display as dropdown if you plan to use many categories (this significantly reduces the length of the widget content by displaying all categories inside a drop-down menu). Leave the box unchecked if you want a list of all categories to display on your sidebar. (2)
  • Leave the default settings for the remaining options, or see the additional notes on configuring the Categories widget below.
  • Click Save when done …

WordPress Categories Widget settings

(WordPress Categories widget settings)

Load the site in your web browser or reload the page to see how the sidebar categories will display to your visitors …

WordPress Categories widget added to sidebar menu

(WordPress Categories widget added to sidebar menu)

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

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

Click on the Recent Posts title bar to configure its settings …

Recent Posts widget

(Recent Posts widget)

There’s very little to set up. You can add a title if you want, select the number of posts to display and display post dates. If you’re happy with 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 when done …

Recent Posts widget settings

(Recent Posts widget settings)

Your most recent posts will be listed on your sidebar navigation menu …

Recent Posts widget added to sidebar

(Recent Posts widget displayed on sidebar)

For a tutorial about how to create and edit a WordPress Post, go here: How To Create A Post In WordPress

Adding Links To Your Site’s Pages

Next, let’s add a widget to your sidebar area for listing pages.

Find a Pages widget in the Available Widgets section …

Pages Widget

(Pages Widget)

Drag the Pages widget to your active widget area …

Adding a Pages widget to your sidebar

(Adding a Pages widget to the sidebar navigation menu)

The Pages widget lets you configure the following options:

  • Title: Add a title to the widget (e.g. “Pages“) (1)
  • Sort by: Sort how your pages display: by title (i.e. alphabetically), by page order, or page ID. (2)
  • Exclude: Hide pages on the sidebar menu (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 choose a different method in the Sort by: drop-down menu …

Pages Widget settings - sort options

(WordPress Pages Widget settings – item sorting options)

To exclude pages from showing to visitors, type in the Page Ids for the pages you want to exclude separated by commas into the Exclude field of the Pages widget …

WordPress Pages Widget settings - exclude pages

(WordPress Pages Widget settings – exclude pages by ID)

For a tutorial about how to find a WordPress post or page ID, go here: Finding WordPress Post And Page IDs

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

Links to the blog’s main pages will now display in the sidebar …

Pages Widget on blog sidebar

(WordPress Pages Widget on sidebar)

Useful Tip

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

Add A Links Widget

Now, we’ll add a Links widget for displaying external links on the sidebar menu.

Before adding a Links widget to the sidebar navigation menu, we recommend configuring your Links section inside the dashboard first …

WordPress Links section

(WordPress Links screen)

Note: We are currently putting together tutorials on how to use the WordPress Links feature.

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

WordPress Links Widget

(Links Widget)

Drag the Links widget to your sidebar area …

Make 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 navigation area …

WordPress Links Widget Settings

(WordPress Links Widget Settings)

You can add as many separate ‘Link Widgets’ to your sidebar section 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 Section

(Add Multiple Links Widgets To The 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 …

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

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

When you have finished configuring your Links Widget, click the Save button to update your settings. Your links will display immediately on the WordPress sidebar navigation menu …

Links added to sidebar

(External 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 link lists to your sidebar.

How To Add WordPress Widgets To Your Site

***

This is the end of section 3 of this tutorial series.

Click here to keep reading:

***

"This is AMAZING! I had learnt about how to use WordPress previously, but this covers absolutely everything and more!! Incredible value! Thank you!" - Monique, Warrior Forum