• 0
Sign in to follow this  
Followers 0

Hide parts of sidebar for certain categories


Question

Posted · Report post

Hi there,

 

On a single post page I'd like to hide certain elements with a column ( column holds a primary sidebar, textbox and ibox) depending on which category the post belongs to.  

 

So for post within category A and category B - I'd like to show the textbox and ibox.

And for all other categories I'd jsut like to show the primary sidebar and hide the textbox and ibox.

 

Is this possible with CSS? I've tried everything I can think of to no avail, I can hide elements but not by category.

 

I'm using WP 3.6 and DMS 1.1.3.

 

Many thanks in advance! :)

 

Share this post


Link to post
Share on other sites

2 answers to this question

  • 0

Posted · Report post

It looks like the paid version of the plugin Sidebar Manager Light (now recommended for custom sidebars for DMS) might help with this - is Sidebar Widget Manager also recommended / tested with DMS?

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

Hi,

 

I only tested the lite/free version I haven't tested the pro version or the features you're after.

However, if you wish to hide specific widgets from your sidebar on certain categories, you will probably want to use Widget Logic or a similar plugin. This plugins adds conditional logic to your widgets where you can display widgets on a per page/post basis.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0