How to eliminate sidebar, intentionally? (5 posts)

  1. kayannworks
    Posted 9 years ago #

    Can someone please tell me how to completely and intentionally eliminate the sidebar on all of my WordPress pages, including the very front one that people see when they go to my blog's address?. I'd prefer something with a header/sidebar combo that's at the top below my header-image so I can add links etc. Thanks for any info/help.

  2. Kafkaesqui

    Posted 9 years ago #

    Try looking around here:


    and sorting on '1 column' when you do. There are a number of no sidebar WordPress themes about.

  3. gnorb
    Posted 9 years ago #

    Remove the following line of code from all pages:

    <?php get_sidebar(); ?>

    Personally, I would just comment it out instead of outright deleting it -- just in case.

    //Edit: As for your other request, instead of removing the sidebar, how about just editing the CSS so that it appears where/how you want it to?

  4. moshu
    Posted 9 years ago #

    Actually, in many cases just deleting the call for sidebar is not enough: while the content of the sidebar will not appear, of course, its place (as an empty column) still will be there in many themes!

  5. snipeseye
    Posted 9 years ago #

    In your theme just delete sidebar.php.

Topic Closed

This topic has been closed to new replies.

About this Topic