ThemeShaper Forums » Power Blog

Selectively remove widget areas - Crown Aside

(6 posts)
  1. I'd like to remove the Crown Aside widget area on specific pages. I was using the Widget Logic ( plugin but this only removes the content that would be added into the Crown Aside area. Is there a way to selectively remove, per Page, Category etc, the Crown Aside area and content via Functions.php?

    Posted 11 years ago #
  2. Anyone?

    Posted 11 years ago #
  3. If it's a few pages you could remove it with CSS, targeting one of the body classes.

    And, I haven't tried this, but you could probably use a custom field to selectively filter and add a new class to the body classes, like, .no-crown. Then edit the CSS to hide the crown aside on .no-crown pages.

    Posted 11 years ago #
  4. Thanks Ian - I thought there might be a way to do it like Chris' post here -

    I'll try with this CSS approach first, but if anyone has a more longterm/flexible solution, I'd love to hear it.

    Thanks again!

    Posted 11 years ago #
  5. Along the same lines of this post, I would like to remove the Crown Aside from every page except the page that will be for my Blog.

    Is there a way to do this in the functions.php

    Posted 11 years ago #
  6. FYI, I figured out a way to remove Crown Aside from all pages other than the Blog area of my site. #crown {
    display: none;

    For good measure I also used Widget Logic on the Crown Aside so that the hidden widget content wouldn't show in the source potentially hurting SEO.


    Posted 11 years ago #

RSS feed for this topic


You must log in to post.