• Hello.
    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.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Try looking around here:

    https://themes.wordpress.net/

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

    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?

    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!

    In your theme just delete sidebar.php.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘How to eliminate sidebar, intentionally?’ is closed to new replies.