Support » Fixing WordPress » Remove Side Bar Completely?

  • Chudz

    (@chudz)


    Hello I was woundering if someone can write a Hot To on removing the sidebar completely from WordPress. This is my website so far http://www.webdesign-chester.com/

    I understand it is not a simple and quick task but it would be really helpful thanks

Viewing 5 replies - 1 through 5 (of 5 total)
  • whooami

    (@whooami)

    Member

    removing the sidebar, in most case, is as simple as removing the code that puts it there in the first place, specifically <?php get_sidebar(); ?> from whatever theme file that code exists in.

    Its the “after you have done that, now what” that is the problem, very theme-centric, and not open to a generic explanation.

    Chudz

    (@chudz)

    I see removing that code just removes the sidebar but not the place holder. Nvm I will just have to live with it.

    minute44

    (@minute44)

    I’m not 100% but I’m sure removing <?php get_sidebar(); ?> will entirely remove the sidebar. you’ll probably eed to remove the div that contains that code as well.

    armstrong1118

    (@armstrong1118)

    in the basic themes, the div for the sidebar is in the sidebar.php file so when you delete the <?php get_sidebar(); ?> its gone. You will on the other hand have to edit the other ‘containers’ that hold your content and the such.

    whooami

    (@whooami)

    Member

    echo .. echo .. echo 🙂

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Remove Side Bar Completely?’ is closed to new replies.