how can I remove the sidebar from my wp homepage [closed]

What’s the best practice when it comes to removing the sidebar on the wordpress homepage? I’m using wp Version 3.2.1 and Skeleton Child Theme 1.6

2 Answers
2

This very much depends on the theme you are using, but here is how you would go about it.

Locate where the sidebar div is being added. Then wrap the sidebar in a !is_home() check then it will only load on pages that are not home.

You will probably also need to add a class using the same logic so you can also tweak the widths with css. If you hide the sidebar, the content area will need to be set to 100% for example.

Is this the skeleton theme you are using?

http://www.simplethemes.com/blog/entry/skeleton-wordpress-theme

If not, please send a link to the one you are using and I can help a little more 🙂

Leave a Comment