• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Home
  • Blog
  • Sample Page

WordPress Tips

Just another WordPress site

How to Display Different Sidebar Widgets based on WordPress Category? Try Widget Options Plugin

August 27, 2017 Leave a Comment

After changing Crunchify theme couple of months ago, we have performed numerous GenesisWP theme enhancements using some custom code in functions.php file or with few custom widgets.

In this post I’m going to show you how we used Widget Options WordPress Plugin to show different Sidebar Widget based on different Categories.

As an example:

  • Show only widget A if my WordPress post belongs to Category B and C.
  • Show only widget D if WordPress post belongs to Category E and F.

Let’s take a look at live example first:

Head over to this post: WordPress Plugins We Use on Crunchify. You will see WordPress Tuning Tips Widget at the bottom of primary sidebar.

WordPress Tuning Tips Widget for all WordPress related posts

Head over to this post: Top 10 Java Interview Questions. You will see Basic Java Tuning Widget at the bottom of primary sidebar.

Basic Java Tuning Widget for Category Java

Let’s get into details on how to setup Widget Options Plugin right way?

Step-1

Download and install Widget Options Plugin.

Link: https://wordpress.org/plugins/widget-options/

Step-2

  • Go to Settings.
  • Click on Widget Options.
  • Disable all other Option other than Pages Visibility and Display Logic.

Widget Options enable only Pages Visibility and Dispaly Logic Options

It’s upto you which option you want to enable but for us on Crunchify, we don’t need any other options.

Step-3

  • Go to Appearance .
  • Click on Widgets.
  • You will see new options now available for you to use for each individual widgets.

Widget Options WordPress Plugin on Crunchify

As you see in above GIF, I’ve enabled all below options. This setting is for WordPress Tuning Tips Widget.

  • Hide/Show: make sure you select Show on checked pages option
  • Misc: Select only Single Post
  • Post Types: no changes
  • Taxonomies: Select only categories on which you want your widget to appear

Just clear your site cache. That’s it. Now your specific widget will appear as you configured in above steps.

Buffer

The post How to Display Different Sidebar Widgets based on WordPress Category? Try Widget Options Plugin appeared first on Crunchify.

Author: App Shah

More Related Articles For You…

  1. How to Add After Post Widget Area in Genesis 2.0 Framework- WordPress Tips
  2. How to Add/Change Custom Sidebar for Custom Post Type (CPT) in WordPress
  3. How to Hide Sidebar only on Home, Archive page – Genesis WordPress Framework

Filed Under: WordPress, WordPress Plugins Tagged With: WordPress, WordPress Plugins

Reader Interactions

Related Posts

  • Media Temple Managed WordPress Hosting: Overview and Review
  • Hotjar Heatmap Analytics: An Overview and Review
  • How to Use a Heatmap to Improve Your Website’s Overall Quality
  • GreenGeeks Eco-Friendly Hosting: An Overview and Review

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Primary Sidebar

Copyright ©2019 · WPress.Tips - All Rights Are Reserved · Powered by Genesis Framework