WordPress.org

Ready to get started?Download WordPress

Forums

Remove sidebar form Post (5 posts)

  1. LuchoS
    Member
    Posted 2 years ago #

    Hi,

    I'm having a big problem. I have knowledge of HTML, CSS and some of PHP.

    I want to remove the sidebar form here http://www.lucianostasi.com/wordpress/?custom=business-consulting and I can't.

    I tried removing the get_sidebar form de index.php but it dosen't work.

    How can I edit the POSTs, so when I get inside one I don't see the sidebar and the comments.

    THANKSSSSSS

  2. alchymyth
    Forum Moderator
    Posted 2 years ago #

    is this a custom post type?

    if so, try to create a single-custom.php from a copy of single.php (or index.php) and remove the sidebar there.

    http://codex.wordpress.org/Template_Hierarchy#Single_Post_display

  3. LuchoS
    Member
    Posted 2 years ago #

    Thanks now it workss

  4. maxpayne13
    Member
    Posted 2 years ago #

    hello, can you help me as well, I have the theme news, I created a new page template and called it no sidebar, I removed the line get side bar and nothing happened, I then tried removing another line but that did not work and thee page got a little screwy. Here is the page im trying to remove this in

    http://216.172.171.18/~carranza/test6/?page_id=826

    I see you managed to do it :). I actually would like to center the whole thing and just widen it, can someone help?

  5. alchymyth
    Forum Moderator
    Posted 2 years ago #

    @maxpayne13

    please start your own topic.

Topic Closed

This topic has been closed to new replies.

About this Topic