WordPress.org

Ready to get started?Download WordPress

Forums

How do I remove the sidebar (4 posts)

  1. rickonline
    Member
    Posted 6 years ago #

    One one of my pages I want to remove the side bar, how do I do this?

    I just want photo galleries on the page.

    http://rickonline.us/wordpress/?page_id=91

  2. Roy
    Member
    Posted 6 years ago #

    You actually have two sidebars. If you want to get rid of them permanently, just remove the <get sidebar> functionS from all php files. You might want to consider looking for an option in which different sections have different sidebars if you decide to make the entire website with WP otherwise there will be no sidebar anywhere.

  3. rickonline
    Member
    Posted 6 years ago #

    I only want to keep them on my main page - I want them gone on the rest of the site.

    I'm going to try to recreate http://www.rickonline.us - using wordpress to see what it looks like.

    So I'm going to take off the side bar on the pages with photos, and videos. Is this possable.

  4. Roy
    Member
    Posted 6 years ago #

    Well of course.
    http://wordpress.org/support/topic/125439?replies=6

    I have no such thing, but just thinking 'out loud'. If you make your photo page a "page" instead of a post, you can remove the <get sidebar> from the page.php. In this case -though- you also have no sidebar on your about, movie section if they are pages, but at least the part with posts (which uses index.php or single.php or archive.php) won't be effected.

    If you want something more fancy, read the first thread of the link that I gave you and try some serious 'PHP'ing'.

    [edit] Right! As always the "Codex" is your friend.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.