Support » Fixing WordPress » Remove Side Bar Completely?
9 years, 2 months 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
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.
<?php get_sidebar(); ?>
Its the “after you have done that, now what” that is the problem, very theme-centric, and not open to a generic explanation.
I see removing that code just removes the sidebar but not the place holder. Nvm I will just have to live with it.
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.
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.
echo .. echo .. echo 🙂