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 loads of benefits to choosing the WordPress CMS platform for building and growing a website or blog. One of these is that WordPress makes it very easy to add content, enhance your site and rearrange your site’s layout without having any programming skills or knowledge.

WordPress allows you to quickly and easily add, remove, and control various types of content from your website’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 widgets work, what makes them so useful and how widgets can help you supercharge your web site.

What’s A Widget? An Overview Of WordPress Widgets For Business Owners

WP widgets make managing and using WordPress easy

(WP widgets help make managing and using WordPress easier!)

Widgets are self-contained blocks of code that perform a specific function, such as adding a form, or a text box or item to your 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 know how to program PHP code.

Now … don’t worry if the above sounds too technical. As will soon see, widgets are made for non-techies.

WordPress widgets eliminate the need to know how to program code or manipulate PHP code in order to customize your website.

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

(WP widgets help you control specific features and functions on your website without requiring coding skills)

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

In simple terms, widgets allow you to:

  • Easily insert, edit and delete features in areas of your WordPress site without having to touch any underlying code, and
  • Reconfigure how various elements display 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 additional components you can add to your site’s sidebar section (and headers and footers and other areas, depending on the theme you have installed) using widgets:

  • nested page lists
  • blog categories
  • archived blog post entries
  • menus displaying only selected pages
  • links to resources
  • most popular posts
  • recent comments from users
  • advertising banners
  • testimonials
  • survey questions & results
  • RSS content
  • registration box
  • video thumbnails
  • social media buttons
  • display widgets from external sites (e.g. Facebook friends)
  • administrative forms (e.g. login, register, etc.)

In other posts, we provide more detailed explanations of WordPress plugins and WP themes; what they are, what they do, how these easily add loads of new functionality to WordPress and even drastically alter the design of your website.

As you will see shortly, WP themes can affect how widgets work on your web site and a number of plugins also install accompanying widgets that can help further fine-tune your website or blog’s capabilities.

Widget-Ready Themes

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

Usually, you will find widgets at work in the theme’s sidebar menu, but depending upon the theme, these can also be in the header, the footer section, and even above or below your content section.

It all depends on what theme that you have installed.

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

Some Themes have only one widget enabled area

(Some WP themes have only a single widgetized section)

Below is the widget screen of the theme above, where you can see that the theme only contains one widget area …

An Introduction To WordPress For Website Owners: WP Widget:

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

In contrast, the WordPress theme shown below includes a number of widget-ready areas …

Many themes provide a number of widget-ready areas

(Many WordPress themes offer users multiple widget-enabled sections)

Here is an enlarged image of the widget section of the above theme, where 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 2 different page templates (Main Sidebar and Showcase Sidebar) and three different Footer areas (Footer Area One, Footer Area Two, Footer Area Three) …

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

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

How Can I See My WordPress Widgets?

The Widgets panel is located inside your WP admin area and can easily be accessed by going to Appearance > Widgets …

An Introduction To WordPress For New Users: What Is A WordPress Widget?

This brings you to the Widgets screen in your web browser …

Widgets Screen

(Widgets Panel)

The Widgets area displays all the widgets you have available.

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 & drop)

Available widgets can be activated or deactivated by dragging & dropping items to different areas of the panel.

Widgets dragged from the Available Widgets section to widget areas like your sidebar, footer, etc. instantly become active and can be used on your site.

In addition, your Widgets screen includes an Inactive Widgets section that lets you remove any widgets that you no longer want on your site. Inactive widgets retain their 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 right out of the box in your default WordPress theme and display items like Search, Archives, Meta, etc. to your site 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, when new WordPress plugins are installed on your website or blog, you may find that new widgets are also added to your Widgets section …

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

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

Widgets Features: Drag-And-Drop

Widgets are great because you can easily insert, activate, deactivate, reorder and delete them all in your Widgets section just by using drag & drop …

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

(Rearrange widgets using drag-and-drop)

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

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

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

Widgets control the order certain features display on your WordPress site

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

If we took a look inside the example site’s Widget area, you would see that these features display on the site in the same order as their corresponding widgets have been arranged in the site’s active widget area …

What Are WordPress Widgets? Understanding Widgets For Website Owners

If we change the order these widgets in the Sidebar Widget Area by dragging and dropping elements in the widget area …

Drag and drop to rearrange widgets in your widget area

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

The widgets have now been reorganized in your sidebar …

An Introduction To WordPress For New Users: About WordPress Widgets

As you can see, this immediately changes the layout of your 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 section (2) is located above the newsletter subscription form (1) …

Widgets are really easy to use!

(WordPress widgets are really easy to use!)

Pretty simple stuff, huh?

Here are a few more useful things worth knowing about using WP widgets:

Widget Management – Widget Previews

Depending upon the actual WP theme that you have installed on your site, you can also 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 any changes to the live website.

You can do several edits and adjustments to widgets in preview mode, like inserting, deleting and moving around your active widgets to any widget areas that your theme makes available, and everything is done in real time. If you like what you’ve done and click the “Save and Publish” button, your changes will then be instantly updated and reflected to your site 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!)

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 any changes (and avoid making errors), or change your widgets on the fly using the Widget editor screen discussed earlier.

Widget Configuration

As we have shown you in an earlier example, with WordPress you can easily and quickly rearrange how information is displayed in widgetized areas of your website sidebars, footers and navigation menus with only a few clicks of your mouse button, using drag-&-drop …

Rearranging sidebar elements with widgets can help to improve user experience

(Reorganize sidebar elements using widgets to improve your site’s visitor experience)

In the screenshot above, for example, you can see that we have easily rearranged the site’s sidebar section by switching 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.

Rearranging sidebar layout using widgets can help 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 static websites, you would need to edit code in your website’s templates to reorganize the layout, make unique customizations to features on page elements like a member login section, or just add features like nested page lists, or a dropdown menu of your content categories, an archives section, menus that display only selected pages, links to recommended resources, a list of your most read posts, the latest post comments, a section displaying clickable images, testimonials or poll questions & results, RSS content excerpts, video galleries, 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 configuration options

(Some widgets give you little to no customization)

Most widgets offer additional settings that allow you to further customize your site features. 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 give you customizable options

(Most widgets offer customizable options!)

How To Use Widgets

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

For useful tips and tricks to using widgets, see these great tutorials showing you how to use different widgets in WordPress to boost the effectiveness of your web site, plus lots of useful tips for getting the most out of WordPress using widgets:

Related Posts

If you are a new WordPress user, you may also find the following related posts useful:

Hopefully, this article has given you a better understanding of issues that can affect your web site and how WordPress can help you expand your business online. To learn more about using WordPress please click on links to visit 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)

***