Remove sidebars

Discussion in 'WordPress' started by kuzo, Aug 13, 2011.

  1. #1
    kuzo, Aug 13, 2011 IP
  2. unlesh

    unlesh Active Member

    Messages:
    123
    Likes Received:
    0
    Best Answers:
    1
    Trophy Points:
    51
    #2
    From which page you want to remove from it?
     
    unlesh, Aug 13, 2011 IP
  3. primitip

    primitip Active Member

    Messages:
    37
    Likes Received:
    3
    Best Answers:
    1
    Trophy Points:
    60
    #3
    what drop-down menu?

    do you want to completely remove the sidebar or only want to display widget on specific page?

    For the 1st case you can add this conditional tag to your sidebar.php file
    <?php if (!is_page( 'page ID or slug or title' )) { ?>
    	...your sidebar content...
    <?php } ?>
    Code (markup):
    you might want to add another conditional tag to the content area to change it's width

    and for the 2nd case, you can use this plugin to show widget on specific page
    wordpress.org/extend/plugins/widget-context
     
    primitip, Aug 13, 2011 IP
  4. kuzo

    kuzo Peon

    Messages:
    15
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    I want to remove Sidebars from one specific page. I´ve tried to use wordpress.org/extend/plugins/widget-context , but it removed widgets, which I didnt want(that was all right!) BUT instead of them new widgets were visible(they werent in Sidebar 1 in admin area)- why were they visible ?
    Is there any other way how to remove sidebars from one page?
     
    kuzo, Aug 13, 2011 IP