• Hello again.

    Is it possible to remove all the side bars in posts? I want to maintain that on pages but would like to make it disappear when someone clicks on the posts.

    So, it’s easier to read as the content’s space is much bigger without the side bar.

    Here’s the link : mypianojourney.com

    Thank you in advance

    Jasmine

Viewing 3 replies - 1 through 3 (of 3 total)
  • You need to override the single.php in your child theme. Just copy the single.php to your child theme and remove the sidebar.

    Thread Starter iamJasmine

    (@iamjasmine)

    Hello mrtom414.

    Thank you for the response but I’m really new with all this stuff. It’ll be really helpful if you could guide me step-by-step; how to get to that single.php and what is that..I really have no idea about it..

    Thanks again

    Jasmine

    Hi iamJasmine,

    You can have a look into the below links for undertanding how to use child themes in wordpress.
    http://www.sourcexpress.com/wordpress-child-themes-use/
    http://codex.wordpress.org/Child_Themes

    After giving above a good read, as above said copy the **single.php** file from the parent theme folder and paste it in the child theme folder and edit it to remove the line number 56 which reads as below

    <?php get_sidebar(); ?>

    Once the above is done, sidebars would be removed from all the posts

    Hope it helps!

    Thanks

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘How to REMOVE SIDE BAR ON POSTS?’ is closed to new replies.