How To Remove Sidebar From WordPress Post Pages

Removing Sidebar from WordPress Pages

Many people who uses WordPress finds it annoying seeing sidebars on the Post pages. People want Post pages to be a Content only Page most of All. Or Even, they may have tried putting Adsense into sidebars, and thus Ads come in the Privacy Policy , Contact Us pages etc which is against Adsense.

So here  is the steps on How to Remove the Sidebar from Post Pages :

1. Login To Your Dashboard.

2.Go To Themes And Take Editor from there.

3. Select the Page Template (Page.php) From the list of files on the Right Side.

4. Find <?php get_sidebar(); ?> from the Coding present there And then delete it.

5. Save it and the thing will be done!

Note: For some template, there can be more than 1 sidebars,

So possibly, you will have to delete 2 lines!

<?php get_sidebar(); ?>
<?php include 'sidebar2.php'; ?>

Sidebar2.php can be any name according to the template. And also, Include function can change to Get function.So Try finding the lines manually rather than Finding it from the Page using Search Of the Browser. The lines usually reside near to the last lines of the Code.

3 Responses to “How To Remove Sidebar From WordPress Post Pages”

  1. boladowall March 27, 2014

    Honorable Trumpet/Mermaid Sweetheart Lace Sweep/Brush Train Tulle Wedding Dress - $375.20 : Professional wedding dresses stores,

  2. One of the most effective is through PC Sound Proofing materials.
    So more often than not hardware supply is aimed at office user
    level and if an employees needs are greater
    tough, there pleas for better equipment will be ignored. Finally:.

Leave a Reply