0

I have a blog which has 2 columns: a big left column, and a side bar on the right side.

But for some landing pages I want to get rid of the right hand column so it doesn't distract the user. Is that something that is possible to do on Wordpress? If so, how is that usually accomplished?

Thanks!

1
  • Were you able to find a solution?
    – jdm2112
    Oct 23, 2014 at 19:42

1 Answer 1

0

The most common way to handle this is to create a "full-width" page template in your theme. This will be a near duplicate of your page.php file (if we are talking about WP Pages, not posts or a custom post type) without calling in the sidebar.

Looking at the structure of your page.php file, locate the block that contains <?php get_sidebar(); ?> and remove it in your full width template file. Depending on the specifics of your theme, you may also need to remove the DIV or SECTION wrapper code if it is not fully contained within the sidebar.php file.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.