• Resolved Uzma

    (@uzma)


    I have a basic question regarding my website https://samleahey.com/.

    If you look at this page here https://samleahey.com/?page_id=2 you’ll notice that it does not include the side bars that are on the home page. This allows for more horizontal space for the content.

    However when you’re on the homepage itself and you click on a link to a particular post like this one https://samleahey.com/?p=428 you’ll notice that the blog post includes the side bars.

    What i want to accomplish is getting the side bars off of my blog posts and only having them on my home page. I use the Flexx Theme from wordpress but it only has that “Page Attribute” widget/option when i go to create a “page”, as opposed to a “post”.

    I asked the IT people for help and they basically said i would have to recode something in the wordpress theme itself so it’ll give me that option when creating “posts”.

    Thanks a bunch!!!

Viewing 1 replies (of 1 total)
  • Well its kind of hard to explain but….

    You probably have these 2 files in your theme.

    page.php (which is the template for your About page)
    single.php (which is the blog post)

    What you would need to do is basically copy/paste the code from page.php into single.php but add back in the code for the comments.

    So find the code for the comments section towards the bottom and copy it. Then replace the entire code from page.php in single.php and by comparing the new and old code stick the comments code back in there.

Viewing 1 replies (of 1 total)
  • The topic ‘Sidebar’ is closed to new replies.