WordPress Widgets Explained

This tutorial explains what WordPress widgets are, how widgets work, and how widgets can help you customize and extend the functionality of your website or blog.

WordPressThere are many great things about choosing the WordPress CMS platform for managing and growing your web site. One of these is that you can easily add content, expand your site’s functionality and reconfigure the layout of your website without web coding skills and knowledge.

WordPress lets you quickly and easily add, delete, and control various types of content from your website’s sidebar menu (or header and footer sections, depending on what theme you have installed) using widgets.

Widgets

(Widgets)

This blog post explains what widgets are, what makes them so useful and how widgets can help add new functionality to your site.

How Do WordPress Widgets Work? Understanding Widgets For Business Users

WP widgets make managing and using WordPress easier

(WP widgets make managing and using WordPress easy!)

A widget is a small module of code that performs a specific function, such as adding a functionality, or a script or item to your website.

The WordPress software is written using a scripting language called PHP (Hypertext Preprocessor). Normally, to add features and functions to a website, you have to learn how to write web code.

Now … don’t worry if it all sounds too geeky. As you are about to see, widgets are perfect for non-techie users.

WordPress widgets help you control technical features and functions on your site without having to edit code.

WordPress widgets help you manage specific features and functions on your site without the need to edit code

(Widgets help you manage technical features and functions on your site without having to touch code)

Widgets were originally developed to provide an easy way to allow WordPress users to manage aspects of their website’s layout and functionality.

Simply put, a widget allows you to:

  • Easily insert, edit and remove features in areas of your site without touching any web code, and
  • Reconfigure the functional layout of your WP theme on widget-enabled areas of your site (e.g. the sidebar, header, footer and other areas) using drag-and-drop technology.

Here are just some of the great things you can add to your WordPress site’s sidebar area (plus headers and footers and other areas, depending on the theme you have installed) using WP widgets:

  • site pages
  • blog categories
  • archive
  • custom page menus
  • links to external sites
  • links to your recent posts
  • comments
  • clickable ad banners
  • user testimonials
  • polls
  • content from RSS feeds
  • opt-in form
  • product images
  • social media sharing buttons
  • display widgets from external sites (e.g. Twitter)
  • administrative forms (e.g. login, register, etc.)

In other blog posts, we write more extensively about WP plugins and themes; what they are, what they do, how these easily add new functionality to WordPress and even change the entire design of your site.

As you will learn shortly, WP themes can affect how widgets work on your web site and some plugins also install accompanying widgets that will fine-tune your website or blog’s performance.

Widget-Ready Areas

Most WP themes support widgets and provide widget-ready areas in the theme’s layout where widgets can show up in.

Normally, functions powered by widgets can be found in your theme’s sidebar menu, but depending upon the theme, these can also be found in the header, footer, and even below your content.

It all depends on the theme that you have installed.

For example, the theme shown in the screenshot below provides users with only one widget area displaying items in the theme’s sidebar area …

Some WP Themes provide only a single widget section

(Some WordPress themes have only a single widget-ready section)

Here is the widget panel of the theme shown above, and you can see that this theme only contains one widget-enabled area …

A Basic Guide To WordPress For Website Owners: WP Widget:

As you can see, the only location where you can add widgets to your website using the theme shown above is in the site’s sidebar area.

In contrast, the WP theme shown below includes a number of widget-enabled areas …

Many WordPress themes offer users a number of widgetized sections

(Many WP themes provide a number of widget-enabled sections)

Below is the widget panel of the theme above, and you can see how many widget areas this theme includes …

Multiple widgets areas

(Multiple widgets areas)

As you can see, in the above theme, widgets can be added to the sidebar area of 2 different page templates (Main Sidebar and Showcase Sidebar) and 3 different Footer areas (Footer Area One, Footer Area Two, Footer Area Three) …

Some themes let you add widgets to your site's footer

(Some themes let you add widgets to your site’s footer section)

How Can I See My WP Widgets?

The Widgets area can be accessed inside the WP administration by going to Appearance > Widgets …

What Are WordPress Widgets? An Introduction To WordPress Widgets For Business Website Owners

This loads the Widgets screen in your web browser …

Widgets Panel

(Widgets Panel)

The Widgets area displays a list of all the widgets that can be used on your site.

On the right-hand side of the screen, you can see your “active” widgets …

Activate or deactivate widgets using drag & drop

(Activate or deactivate widgets using drag and drop)

Available widgets can be activated or deactivated by dragging-and-dropping items to different sections of the panel.

Widgets dragged from the Available Widgets section to widget areas like your sidebar, footer, etc. become activated for use on your site.

In addition, the Widgets area includes an Inactive Widgets section that lets you remove any widgets that you no longer want on your website. Inactive widgets do not lose their settings.

Important

In a default WordPress installation, your site already comes with several pre-installed widgets (e.g. widgets for displaying your pages, links, posts, post categories, adding text, adding RSS feeds, adding tags, adding a search box, etc …) and active widgets.

These widgets are available right out of the box in the default WordPress theme and display items like Recent Posts, Recent Comments, Meta, etc. to your visitors …

By default, your site already comes with several pre-installed widgets

(In a default WordPress installation, your site already comes with a number of pre-installed widgets)

Sometimes, new widgets get added to your Widgets section when new plugins are installed on your website …

Installing plugins can sometimes add new widgets to your Widgets admin area!

(Installing WP plugins can sometimes add new widgets to your Widgets admin area!)

Widgets Features: Drag-And-Drop

Widgets are great because you can easily add, activate, deactivate, reorder and delete them all inside your Widgets area using drag and drop …

Rearrange your site's widgets using drag-and-drop

(Rearrange widgets on your WordPress site using drag and drop)

With drag & drop technology you can easily rearrange the layout and order of your widgetized sections.

For example, take a look at the image below. In this example site, the widgets have already been configured to display the following:

  1. A subscription form,
  2. A contact support banner, and
  3. Click to call sales buttons from a widgetized WordPress plugin …

Widgets control the order certain features appear on your WordPress site

(Widgets control the order certain features on your site display)

If you could peek inside the example site’s Widget area, you would see that these features appear on the site in the same order as they were arranged in the site’s active widget area …

An Overview Of WordPress For Website Owners: About WordPress Widgets

Let’s now reorganize these widgets in the Widget Area by dragging and dropping elements in the widget area …

Drag & drop to rearrange widgets in your widget area

(Drag & drop widgets in your widget area to rearrange their order)

The widgets have now been reordered in the sidebar …

What Are Widgets? Understanding Widgets For Newbies

As you can see, this instantly reorganizes the layout of your site’s sidebar. Note in the screenshot below that the click to call function (3) is now at the top of the sidebar menu, and the contact us image banner (2) can now be found above the newsletter opt-in form (1) …

Widgets are really easy to use!

(Widgets are very easy to use!)

Pretty cool, huh?

There are some other things worth knowing about using widgets:

Widget Management – Previewing Widgets

Depending upon the theme that you have installed on your site, you can also manage widgets without making actual changes to your site, so you can be sure that you like what you have done before committing your changes to the live website.

You can do a number of modifications and adjustments to widgets in preview mode, like adding, removing and reorganizing your active widgets to any widget areas that your theme makes available, and it’s all done in real time. If you like what you have done and click the “Save and Publish” button, your changes will then be instantly updated and reflected on your site.

Widget management - work in preview mode or configure widgets on the fly!

(Widget management – work in preview mode or configure widgets on the fly!)

Widget management is a valuable feature of WordPress. You can work in preview mode inside the WordPress Theme Customizer screen (Appearance > Customize) and see how your widget content will appear before publishing it (to avoid making mistakes), or change widgets on the fly using the Widget editor screen shown earlier.

Widget Configuration

As we’ve explained in an earlier example, WordPress lets you completely rearrange how information is displayed in areas of your site sidebars, footers and navigation menus with just a few clicks of your mouse button, using drag-and-drop …

Reorganizing sidebar layout with widgets can help to improve user experience

(Rearrange sidebar elements with widgets to improve your site’s visitor experience)

In the above screenshot, for example, you can see that we have quickly and easily redesigned the sidebar section by switching around the search and testimonial sections. As you now know, this was easily done by dragging and dropping the widgets into different positions inside the sidebar widget area.

Reorganize sidebar layout using widgets to improve your site’s user experience.

Now … what about the widgets themselves? Can the widgets be customized instead of simply added, removed and rearranged?

Absolutely!

With many traditionally-designed websites, you would need to edit code in the website’s templates to rearrange the order of elements, customize features on page elements like user registration areas, or just add other features like an index of your site pages, or a dropdown menu of your blog post categories, a post archives section, custom page menus, links to external sites, a list of your most popular posts, the latest user comments, a section displaying advertisements, quotations or surveys & polls, RSS content, videos, social media buttons, and more.

While some widgets are “fixed” in the sense that they provide little to no configurable options, other than to add an optional title to the widget as shown in the example below …

Some widgets give you little to no configuration options

(Some widgets offer little to no configuration options)

Many widgets provide additional options that allow you to further customize them. This can include things like making certain types of information hidden to site visitors but visible to registered users, displaying additional forms, fields, or data, specifying dimensions of sidebar images, videos, etc. and more …

Most widgets offer configurable options

(Many widgets provide users with configurable options!)

Using WordPress Widgets

As we have seen, widgets require no coding experience or programming expertise to use. Most widgets can be easily added to your site simply by activating a plugin and then dragging and dropping the plugin’s corresponding widget into your Active widgets area.

For useful tips and tricks to using widgets, see these detailed step-by-step tutorials showing you how to use various widgets in WordPress to improve the effectiveness of your site, plus many cool tips on how to get the most out of WordPress with widgets:

Related Posts

If you are learning how to use WordPress, you may also find the following related posts useful:

Hopefully, now you have a better understanding of issues that can affect your website and how WordPress can help you get better results online. To learn more about the benefits of using WordPress for a business website please click on links to visit other posts we have published on this site.

***

"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

***