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 benefits to using WordPress to build and grow your website. One of these is that WordPress makes it very easy to add content, expand your site’s functionality and rearrange your site’s layout without code editing skills.

WordPress lets you quickly and easily add, delete, and control various types of content in your blog’s sidebar menu (and header and footer sections too, depending on what theme is installed on your site) using widgets.

Widgets

(WP widgets)

This article explains how WordPress widgets work, what they do and how widgets can help to add functionality to your website or blog.

What Do Widgets Do? An Introduction To Widgets For Business Owners

WP widgets make managing and using WordPress easy

(WordPress widgets make managing and using WordPress easy!)

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

The WordPress application is written using a scripting language called PHP (Hypertext Preprocessor). Normally, to add features and functions that will enhance the functionality of a website, you need to know how to write code.

Now … don’t worry if this sounds too technical. As you are about to discover, widgets are perfect for non-technical users.

WordPress widgets help you manage technical features and functions on your site without requiring knowledge of coding.

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

(WP widgets help you manage many features and functions on your site without requiring coding skills)

Widgets were originally designed to provide a simple way to allow WordPress users to manage aspects of their website’s layout and functionality.

In plain English terms, widgets allow you to:

  • Easily add, edit and remove features to certain areas of your website without having to touch any underlying code, and
  • Reconfigure the functional layout of your theme on ”widgetized” areas of your site (e.g. the sidebar, header, footer and other areas) using drag-and-drop technology.

Here are just some of the many functions you can add to your site’s sidebar menu (and headers and footers and other areas, depending on your theme) using widgets:

  • list of your web pages
  • categories
  • archives
  • custom menus
  • links to external sites
  • posts that you want to promote
  • recent comments
  • clickable text ads
  • customer testimonials
  • poll results
  • content from RSS feeds
  • subscription form
  • images
  • Facebook feeds
  • display widgets from other sites (e.g. Facebook friends)
  • administrative forms (e.g. login, register, etc.)

In other blog posts, we provide additional content about WordPress plugins and themes; what they are, what they do, how plugins and themes easily add new functionality to WordPress and even alter the whole look and feel of your site.

As you will soon discover, WP themes affect how widgets work on your site and some plugins also install accompanying widgets that will fine-tune your website’s functionality.

Widgetized Areas

Most themes support widgets and provide widget-enabled areas on your site where widgets can show.

Usually, widget-powered features can be found in your sidebar, but depending upon the theme, these can also be in the site’s header, in the footer area, and even below or above the content section.

It all depends on what theme you have installed.

For example, the theme in the screenshot below has only one widget area displaying items in the theme’s sidebar navigation …

Some Themes only have a single widgetized area

(Some WordPress themes only provide a single widget-ready area)

Below is an enlarged image of the widget section of the theme shown above, so you can see that this theme only contains one widget area …

Widgets - What Are They? A Basic Guide To WordPress Widgets For Business Owners

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

In contrast, the WP theme shown in the screenshot below contains a number of widget areas …

Many themes offer users a number of widgetized sections

(Many WP themes offer users multiple widget areas)

Here is an enlarged image of the widget section of the theme shown above, so you can see how many widget areas this specific theme includes …

Multiple widgets areas

(Multiple WordPress widget areas)

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

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

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

How Do I Access My WordPress Widgets?

To access the Widgets panel log into your WordPress administration and go to Appearance > Widgets …

An Overview Of WordPress For New Users: Widgets - What Are They?

This loads the Widgets section in your browser …

Widgets Screen

(Widgets Section)

The Widgets panel displays all the widgets that can be used on your site.

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

Activate or deactivate widgets using drag and drop

(Activate or deactivate widgets using drag-and-drop)

Available widgets can be made Active or Inactive using drag & drop.

Widgets dragged from the Available Widgets section to widget areas like your sidebar, footer, etc. become active and available.

In addition, the Widgets screen includes an Inactive Widgets section that lets you remove widgets that you no longer want on your site. Inactive widgets do not lose their pre-configured settings.

Useful Information

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 in your default WordPress theme right out of the box and display items like Search, Recent Comments, Categories, etc. to visitors …

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

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

Sometimes, new widgets appear in your Widgets section when new WordPress plugins are installed on your site …

Installing new WP plugins can sometimes add new widgets to your Widgets section!

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

Widgets Features: Drag-And-Drop

WordPress widgets are great because you can easily insert, activate, deactivate, rearrange and delete them all inside your Widgets area using simple drag & drop …

Rearrange widgets on your WordPress site using drag & drop

(Rearrange your site’s widgets using drag-and-drop)

Using drag-and-drop lets you easily reconfigure the layout of your website’s widget-enabled areas.

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

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

Widgets control how certain features appear on your site

(Widgets control how certain features on your site appear)

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

A Basic Guide To WordPress For Business Owners: WP Widgets:

Let’s now reorganize these widgets in the Widget Area using drag-and-drop …

Drag & drop to rearrange widgets in your widget area

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

The widget features have now been reorganized in the sidebar …

WordPress Widgets: An Overview Of WordPress Widgets For Business Website Owners

As you can see, this instantly reorganizes the order of items in the sidebar. Note in the screenshot below that the click to call function (3) is now first the sidebar menu, and the contact us section (2) now sits above the newsletter sign-up form (1) …

WordPress widgets are very easy to use!

(Widgets are very easy to use!)

Pretty cool, huh?

Let’s go over some more useful things worth keeping in mind with WP widgets:

Widget Management – Preview Widgets

Depending upon the WordPress theme that you have installed on your site, you’re also able to manage and customize your widgets without making actual changes to your site, so you can be sure that you like what you see before committing your changes to the live website.

You can do many modifications and adjustments to your widgets in preview mode, like inserting, removing and reorganizing the currently added 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 great 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 prior to publishing changes (and avoid making errors), or manage your widgets on the fly using the Widget editor area discussed earlier.

Widget Configuration

As we have explained in an earlier example, with WordPress you can quickly reorganize how information displays in areas of your site sidebars, footers and navigation menus with just a few clicks of your mouse button, using drag-&-drop technology …

Rearranging sidebar layout using widgets can improve visitor experience

(Rearrange sidebar layout with widgets to improve visitor experience)

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

Rearrange sidebar layout with widgets to improve your site’s visitor experience.

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

Absolutely!

With most traditionally-designed websites, you would need to edit code in the web templates to rearrange the layout, customize features on page elements like opt-in forms, or just add things like an index of site pages, or a dropdown menu of your blog post categories, an archived blog post entries section, custom menus, links to external sites, a list of your most read posts, the latest user comments, a section displaying advertising banners, quotations or polls & surveys, RSS content excerpts, product images, social media buttons, and more.

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

Some widgets provide users with little to no customizable options

(Some widgets give you little to no customizable options)

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

Most widgets offer configuration options

(Many widgets provide users with customizable options!)

How To Use Widgets

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

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

Related Posts

If you are new at WordPress, you may also find the following posts useful:

Hopefully, this information has given you a better understanding of problems that can affect your web site and how WordPress can help you build a better online. To learn more about the benefits of using WordPress please see other posts we have published on this site.

***

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

***