How to disable sidebar on wordpress pages?

Discussion in 'WordPress' started by KC TAN, Aug 7, 2010.

  1. #1
    Hi,

    Is there any plugins that can help us in disabling the sidebar to appear on the wordpress pages?

    Any help / comment will be appreciated, thank you!
     
    KC TAN, Aug 7, 2010 IP
  2. extremephp

    extremephp Peon

    Messages:
    1,290
    Likes Received:
    32
    Best Answers:
    0
    Trophy Points:
    0
    #2
    OH MAn!! Ah! I will Type the whole Guide here now! :D I hope you will donate for this help coz may be i was the only one replied till Now :p
    So here you Go :)

    1.Login to your Dashboard!
    2.Go to theme> Editor!
    3.Select Page.php or the one which title like PAGE TEMPLATE.
    4.You can see a lot of PHP codes!
    5 Find this Line <?php get_sidebar(); ?>
    6. Delete it!
    7. Save! And Done!!

    Cheer!!

    ~Exp~
     
    extremephp, Aug 7, 2010 IP
  3. teamnirvana

    teamnirvana Active Member

    Messages:
    844
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    60
    #3
    teamnirvana, Aug 8, 2010 IP
  4. dickieknee

    dickieknee Active Member

    Messages:
    441
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    80
    #4
    rather than messing around with your default page create a new template for pages and remove the <?php get_sidebar(); ?> as mentioned by extremephp, this will mean you still have the default page and can have pages with a sidebar when needed
     
    dickieknee, Aug 8, 2010 IP
  5. KC TAN

    KC TAN Well-Known Member

    Messages:
    4,792
    Likes Received:
    353
    Best Answers:
    0
    Trophy Points:
    155
    #5
    I can't load the site.. any other recommended resources?

    Thank you for the advice =)

    How about if I want to let certain widgets appearing at certain page? Is there such a plugin to do this?
     
    KC TAN, Aug 8, 2010 IP
  6. ayekaye01

    ayekaye01 Peon

    Messages:
    214
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    maybe it's best that you find a one column theme so that you won't have any problem with the sidebar.
     
    ayekaye01, Aug 8, 2010 IP