Forums

No side bar on pages? (6 posts)

  1. zepher
    Member
    Posted 1 year ago #

    Hi, I'm working on a CMS using wordpress and am saving 'pages' with content and wonder how I keep the sidebar from showing up on certain 'pages', didn't see a setting, maybe I'm missing it and wondered if anyone could help. Is it a per-template issue?

  2. Samuel B
    moderator
    Posted 1 year ago #

  3. zepher
    Member
    Posted 1 year ago #

    Ok, I looked over the link and still can't figure out how apply a template to specific pages. I'd like the stock template with the sidebar on all blog type of pages, but want the content pages to have only have the header and footer and not the sidebar. It's easy to create a page, but I can't see where to apply a specific template to it. Am I missing something?

  4. Samuel B
    moderator
    Posted 1 year ago #

    when you create a page template - it will show up in a drop down to select it in the right sidebar of edit page screen

    so if you want certain pages without sidebars, you would create a page template without the sidebar and select it

  5. alchymyth
    The Sweeper
    Posted 1 year ago #

    want the content pages to have only have the header and footer and not the sidebar

    if you don't want a sidebar on static pages, try and edit page.php and remove 'get_sidebar();' from the code.

    make a backup copy of your theme files before editing.

  6. zepher
    Member
    Posted 1 year ago #

    Thanks! Will give it a try.

Topic Closed

This topic has been closed to new replies.

About this Topic