WordPress.org

Ready to get started?Download WordPress

Forums

I don't want the side bar (3 posts)

  1. bensontel2
    Member
    Posted 9 years ago #

    Hello,
    I am using page to front plugin. I would like to have the page centered with a wider column and no sidebar. I would like it to look exactly how a post looks (but without the comment box at the bottom) when you click on the post heading.

    My navigation would be via links in the home page so I don't need the sidebar.
    Any thoughts? Thanks in advance.

  2. lawtai
    Member
    Posted 9 years ago #

    well just delete or comment out the sidebar call. Since you're using the page to front plugin, you should've created a home.php file. Just remove the <? php get_sidebar() ? > line and your sidebar'll go away. Now you'll probably also have to play around with the CSS file a bit to get it looking like your posts.

    Another suggestion which I'm assuming you might be using the default kubrick(?) is to take the single.php file it has, and make your home.php file similar to the single.php file in how it calls the loop.

  3. bensontel2
    Member
    Posted 9 years ago #

    Thanks for the help. Here is what I did. I commented out the sidebar and footer (although I may replace that) in the page.php and the index.php in the subdirectory of the theme folder. I changed the <div id="content" class="narrowcolumn"> to <div id="content" class="widecolumn"> in page.php and I got what I want. I am modifying the LetterHead theme.
    So far so good.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.