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(); ?>
Have a solution for why I cannot get this to work?
Cannot seem to get the site link in my post.
It does work. Just not in preview. But once published it works as expected.
- The topic ‘Single Page with No Sidebar’ is closed to new replies.