More WordPress Widget Control with the Custom Sidebars Plugin

custom sidebars

One of our OSTraining members asked us how they could show different widgets on different WordPress pages. This isn’t a feature that’s available by default in WordPress.

We recommended this Custom Sidebars plugin, which makes it easy to customize which pages your widgets appear on.

In this short tutorial, we’ll show you how to use Custom Sidebars.

Upload and install

  • In your admin area, go to Plugins > Add New.
  • In the Search field type “Custom Sidebars” and click Search Pugins.
  • Find Custom Sidebars > click Install Now.
custom sidebars wordpress
  • Activate the plugin.

Create a custom sidebar

Creating a new sidebar means you will have a container with its own set of widgets.

  • Go to Appearance > Widgets > Create a new Sidebar.
custom sidebars
  • Set a name.
  • Click create sidebar

The image below shows how the widgets page looks right now. On the left, your new custom sidebars is waiting. On the right, you’ll see the default widget areas from the theme you’re using.

custom sidebars

Add widgets

Instead of adding widgets in the default theme sidebars, let’s add widgets to our new sidebar. Drag-and-drop one of the widgets into your custom sidebar. In the example below, I’m adding a Categories widget:

custom sidebars

Display a sidebar in an specific category

The magic happens when we define in which category we want to display this set of widgets.

  • Click on Sidebar location:
custom sidebars

This will display the available sidebars of the theme you are using. Choose the one that match your needs.

In my example I selected “As Top for selected categories” and “Edge case” category. This means that my custom sidebar will appear in the “Top” region only on pages that are part of the “Edge Case” category.

custom sidebars

Click Save changes and your work is complete.

When you visit the posts in the “Edge Case” category, the top sidebar will display your new, custom sidebar.

Instructor

  • Valentin discovered Joomla in 2010, and since then he has considered it as the best CMS. Valentin has been coding extensions and templates for Joomla for many years and truly enjoys helping people build their own websites with Open Source tools. He lives in San Julián, Jalisco, México.

0 0 votes
Blog Rating
Subscribe
Notify of
1 Comment
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
Asim Mustafvi

not working this ….. plz check this plug and again post in detail

1
0
Would love your thoughts, please comment.x
()
x