Support » Installing WordPress » Removing sidebar from single page

  • Resolved afropunk


    Hi. I wonder if you can help with my problem. How do i remove the sidebar from one of my pages. If you look at my site, i want to remove the sidebar from the forum page, so the forum can expand in width.

    thanks for your help.

Viewing 7 replies - 1 through 7 (of 7 total)
  • drmike


    Find the Page template that’s used for teh page and remove the get_sidebar call.

    You’re also going to have to create a new div for the wider area as well.



    If this is a page loading in the page.php template I’d suggest copying the page.php template, rename it to, whatever, forum.php, add the following code to your new file:

    Template Name: Forum

    and remove the <?php get_sidebar(); ?> call.
    Upload the file to your server.

    Edit the Forum page in WordPress, selecting ‘Forum’ in the ‘page template’ dropdown box. Et voila.

    However, as drmike said, you might need to edit the div containing the page content to accommodate for the wider page.



    Thanks. That works fine. Thanks for your support.



    I’m just going to keep bumping threads like this up till someone – anyone – can tell me how to solve the error this method produces in IE7:

    Line: 23
    Char: 3

    ‘null’ is null or not an object




    pad, youre going to bump threads that have nothing to do with your problem? OK. Have at it, I guess, but that seems sort of forum-unfriendly and needless, if you ask me.



    This thread is exactly to do with my problem. All the threads I’m bumping are the problem I have. In this case, it’s been ‘resolved’ but still leaves a javascript error!

    how do i
    ‘edit the div containing the page content to accommodate for the wider page.’ ?

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Removing sidebar from single page’ is closed to new replies.