How to Control when to Show or Hide Widgets By Page, Post, or Category, and Make Your WordPress Site Look Better?

As you can see here in this blog, I rely a lot on widgets, to show you more about my offerings, and my content.

From a search widget, opt in form, facebook like and many others.

I wanted to find a way, where I can quickly and easily manage all these widgets, and make sure, that they appear in the right place, and for the right user, at the right post, page, or category.

This plugin, will definitely help you with that. But before I show you more about what this plugin can do, I wanted to talk to you about widgets, their benefits, and how you can use them, and utilize them on your WordPress blog or Website.

Here are the Benefits of Widgets in WordPress:

  • You can quickly and easily add/update/remove/rearrange pieces of content, around your widgets column
  • Makes it easy for anyone to change, or update content, with no coding experience required
  • provide vital information to your website visitors about special announcements, and social media sharing
  • provide structure control of the WordPress Theme to the user

And with this plugin, you will be able to control exactly, when to show or hide, widgets, depending on the post, page, home page, or category. Which can help you provide specific content, to your website visitors, depending on what post, or what page your visitor lands on.

In case you are wondering what is a WordPress Widget:

Widgets were originally designed to provide a simple and easy-to-use way of giving design and structure control of the WordPress Theme to the user, which is now available on properly “widgetized” WordPress Themes to include the header, footer, and elsewhere in the WordPress design and structure.

WordPress comes pre-packaged with a variety of Widgets. If those are insufficient for your needs you can install new ones by searching the WordPress Plugins Directory which is accessible from the Plugins -> Add New menu.

Widgets require no code experience or expertise. They can be added, removed, and rearranged on the WordPress Administration Appearance > Widgets panel. The order and placement is set by the WordPress Theme in the functions.php file.

Some WordPress Widgets offer customization and options such as forms to fill out, includes or excludes of data and information, optional images, and other customization features.

The Widgets SubPanel explains how to use the various Widgets that come delivered with WordPress.

Plugins that come bundled with widgets can be found in the WordPress Plugin Directory.

Displaying Widgets

Existing Widgets in Existing Widget Areas

Before you can add a Widget you must verify that the Theme you’re using supports Widgets (more specifically: Widget Areas). You can do so by simply navigating to the Appearance menu and looking for a sub menu titled “Widgets”. If it does, you can add widgets by following these steps:

  1. Go to Appearance > Widgets.
  2. Choose a Widget and drag it to the sidebar where you wish it to appear. There might be more than one sidebar option, so begin with the first one. Once in place, WordPress automatically updates the Theme.
  3. Preview the site. You should find that the “default” sidebar elements are now gone and only the new addition is visible.
  4. Return to the Widgets Panel to continue adding Widgets.
  5. To arrange the Widgets within the sidebar or Widget area, click and drag it into place.
  6. To customize the Widget features, click the down arrow in the upper right corner to expand the Widget’s interface.
  7. To save the Widget’s customization, click Save.
  8. To remove the Widget, click Remove or Delete.

If you change WordPress Themes, the Widgets will return to the left side of the page in the Widget Archives or Available Widgets list. You may need to add them again and rearrangement depending upon the Theme’s ability to preserve other Theme’s Widgets.

Widget Areas

If you would like to place a Widget somewhere on your Theme that does not have a pre-defined Widget Area, you will need some programming knowledge and should follow the instructions on the Widgets API section found here.

And now, that you know more about widgets, and how they can be utilized. I will show you with the video below, how you can install this plugin, and how to configure it, and some tricks you need to be aware of while using this plugin, to achieve the ultimate results.

How to Install this Plugin:

1) This is a FREE. You can Download the plugin from the WordPress Repository by clicking here

2) Install and Activate this Plugin, by following the instruction in the video.

3) I will show you throughout, the video, different scenarios to fully utilize this plugin, and some gotchas, while using it.

httpv://youtu.be/CQHVtwpIuQ8

Finally…

While this plugin, is not perfect, but it really does, provide, with full control of when to hide and show your Widgets, which is exactly what I was trying to accomplish, and it should help you manage your widgets, with ease, and be able to specify exactly when to show or hide any specific widget, depending on the page, post or Category.

So go now, take advantage, of this power, and utilize the real estate, that widgets use, and make sure that you serve the right widget at the right place.

Let me know, what you think, do you like this plugin? do you think it is going to be useful for you? how will you utilize it?

Tarek Alaaddin Signature