Single Page with No Sidebar
-
Hi folks,
I searched and read numerous topics but have not solved this one yet.
Using a child of Twenty Eleven and default set for page with right sidebar. There does not seem to be a one column choice. Just sidebar, default and showcase.
I want all pages BUT one to have this sidebar. Whenever I edit the page, no choice of template makes any difference. It always has the sidebar.
I created a new page template based on siderbar-page.php and now called Fullwidth. It appears in my choices, but the result still has the sidebar.
<?php /** * Template Name: Fullwidth * Description: A Page Template that is a fullwidth page * * @package WordPress * @subpackage Twenty_Eleven * @since Twenty Eleven 1.0 */ get_header(); ?> <div id="primary"> <div id="content" role="main"> <?php while ( have_posts() ) : the_post(); ?> <?php get_template_part( 'content', 'page' ); ?> <?php comments_template( '', true ); ?> <?php endwhile; // end of the loop. ?> </div><!-- #content --> </div><!-- #primary --> <?php get_footer(); ?>
The site is
but no pages there have anything but sidebars. I leave that for a hidden test page.Have a solution for why I cannot get this to work?
Thanks.
~Bob
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Single Page with No Sidebar’ is closed to new replies.