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 so many benefits to using the WordPress web publishing tool for building and managing your business online. One of these is that you can easily add content, enhance your site and rearrange your site’s layout with no code editing skills or knowledge required.

WordPress gives you the ability to quickly and easily insert, remove, and manage various types of content on your site’s sidebar menu (and header and footer sections too, depending on what theme you have installed) using widgets.

WordPress widgets

(Widgets)

This blog post explains how WordPress widgets work, why they are great for non-technical users and how widgets can be used to add functionality to your website.

Widgets – What Are They? An Overview Of Widgets For Business Website Owners

WP widgets make managing and using WordPress easy

(Widgets make managing and using WordPress easy!)

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

WordPress 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 learn how to program web code.

Now … don’t worry if the above sounds like geek speak. As you are about to see, widgets are made for non-technical users.

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

Widgets help you control specific features and functions on your website without requiring coding skills

(WP widgets help you manage specific features and functions on your website without the need to touch code!)

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

In plain English terms, a widget lets you do things like:

  • Easily add, edit and delete content sections in areas of your WordPress site without touching any underlying code, and
  • Rearrange the functional layout of your 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 many things you can add to your site’s sidebar section (and headers and footers and other areas, depending on your theme) using WordPress widgets:

  • site pages
  • categories
  • archives
  • custom page menus
  • links to external sites
  • most popular posts
  • post comments
  • clickable images
  • quotations
  • poll results
  • content from RSS feeds
  • subscription form
  • videos
  • twitter feeds
  • add widgets from external sites (e.g. affiliate programs)
  • administrative forms (e.g. login, register, etc.)

In other blog posts, we provide more detailed explanations of plugins and WP themes; what they are, what they do, how plugins and themes add loads of new functionality to WordPress and change the look and feel of your website or blog.

As you will soon discover, WP themes can affect where widgets work on your site and some plugins also add accompanying widgets that can help further fine tune your website’s functionality.

Widgetized Areas

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

Usually, you will find widget-driven features in your sidebar menu, but depending upon the theme, these can also be located in the header, footer, and even above or below the content section.

It all depends on the theme you have installed on your site or blog.

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

Some WP Themes only provide a single widget-ready section

(Some WordPress themes provide only one widget enabled section)

Below is the widget panel of the theme above, so you can see that this WP theme only includes one widget-enabled area …

An Introduction To WordPress For New Users: WP Widgets:

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

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

Many WordPress themes offer users a number of widgetized sections

(Many WP themes provide a number of widgetized sections)

Here is an enlarged image of the widget screen of the theme shown above, so you can see how many widget areas this particular 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 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

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

How Do I Access My WordPress Widgets?

To access the Widgets area go to Appearance > Widgets …

What Are Widgets? An Introduction To Widgets For Business Users

This opens the Widgets screen in your browser window …

Widgets Section

(Widgets Area)

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

The right-hand section of the window displays your “active” widgets …

Activate or deactivate widgets using drag & 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 on your site.

In addition, the Widgets panel includes an Inactive Widgets section that lets you remove any widgets that you no longer want to actively display on your site. Inactive widgets retain their pre-configured settings.

Important

In a default WordPress installation, your site already comes with a number of 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 your default WordPress theme and display items like Recent Posts, Recent Comments, Meta, etc. to your visitors …

In a default WordPress installation, 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 are added to your Widgets area as new plugins are installed on your site …

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

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

WordPress Widgets Features: Drag & Drop

WP widgets are great because you can easily insert, activate, deactivate, reorder and delete them from your Widgets area using simple drag and drop …

Rearrange widgets on your WordPress site using drag and drop

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

Use drag-and-drop to easily reorder the layout and order of your site’s widgetized sections.

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

  1. An opt-in form,
  2. A contact support button, and
  3. A couple of click to call sales buttons from a widgetized plugin …

Widgets control the order certain features on your site display

(Widgets control how certain features display on your site)

Looking inside this site’s Widget area, you would see that these features display on the site’s sidebar menu in the same order as they have been arranged in the site’s active widget section …

About WordPress Widgets A Basic Guide To WordPress Widgets For Business Owners

If we rearrange these widgets in the Widget Area by dragging & dropping elements in the widget area …

Drag-and-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 your sidebar …

What Are WordPress Widgets? An Introduction To WordPress Widgets For Newbies

This instantly reorganizes the order of items in your site’s sidebar. Note in the screenshot below that the click to call function (3) is now the first item on the sidebar menu, and the contact us 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 about WP widgets that are also worth keeping in mind about:

Widget Management – Theme Customizer

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

You can do several modifications and adjustments in preview mode, like inserting, removing and reorganizing your current 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 to visitors.

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

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

The ability to manage widgets from within your dashboard 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 prior to publishing changes (to avoid making errors), or configure widgets on the fly using the Widget editor screen discussed earlier.

Widget Configuration

As we have explained in an earlier example, WordPress lets you quickly and easily rearrange how content is displayed in areas of your website sidebars, footers and navigation menus with just a few clicks of your mouse, using drag-&-drop …

Reorganizing sidebar elements with widgets can help to improve visitor experience

(Reorganize 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 by switching around the search and testimonial sections. As you now know, this was easily done by dragging and dropping the widget elements into different positions inside the sidebar widget area.

Rearranging sidebar layout with widgets can help improve user experience.

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

Absolutely!

With most static websites, you would need to edit code in your website’s templates to rearrange the layout, make unique customizations to features on page elements like shopping cart forms, or just add features like a list of pages on your website, or a dropdown menu of your post categories, an archive section, menus to display selected pages, links to recommended resources, a list of your most popular posts, the latest user comments, a section displaying clickable ad banners, testimonials or polls & surveys, RSS feed content, product catalog images, Twitter feeds, and more.

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

Some widgets give you little to no customizing options

(Some widgets provide users with little to no configurable options)

Most widgets provide a number of options that allow you to further configure these. This includes making certain types of information hidden to site visitors but visible to registered users, displaying additional forms, fields, or data, specifying sizes of sidebar images, videos, etc. and more …

Many widgets offer configurable options

(Most widgets offer customization!)

How To Use Widgets

As you have seen, widgets require no coding experience or programming expertise to use. Most widgets can be added to your WordPress website or blog simply by activating a plugin and then dragging and dropping the plugin’s 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 different widgets in WordPress to improve the effectiveness of your web site, plus many useful tips on how to get the most benefit out of WordPress using widgets:

Related Posts

If you are learning how to use WordPress, you may also find the following 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 web site please see other posts we have published on this site.

***

"If you're new to WordPress, this can stand on its own as a training course and will stay with you as you progress from beginner to advanced and even guru status." - Bruce (Columbus, Ohio)

***