WordPress.org

Ready to get started?Download WordPress

Forums

Remove Side Bar Completely? (6 posts)

  1. Chudz
    Member
    Posted 6 years ago #

    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

  2. whooami
    Member
    Posted 6 years ago #

    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.

  3. Chudz
    Member
    Posted 6 years ago #

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

  4. minute44
    Member
    Posted 6 years ago #

    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.

  5. armstrong1118
    Member
    Posted 6 years ago #

    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.

  6. whooami
    Member
    Posted 6 years ago #

    echo .. echo .. echo :)

Topic Closed

This topic has been closed to new replies.

About this Topic