Reply To: BuddyPress Docs Removing Sidebar

Home Forums Support BuddyPress Docs Removing Sidebar Reply To: BuddyPress Docs Removing Sidebar

Home Forums Support BuddyPress Docs Removing Sidebar Reply To: BuddyPress Docs Removing Sidebar

#151506
K Peschmann

I’m struggling to get this to work with my theme Plain Jayne which is a child of Twenty Thirteen, my page.php looks like the below and there is no page.php within the child theme.

<?php
/**
* The template for displaying all pages
*
* This is the template that displays all pages by default.
* Please note that this is the WordPress construct of pages and that other
* ‘pages’ on your WordPress site will use a different template.
*
* @package WordPress
* @subpackage Twenty_Thirteen
* @since Twenty Thirteen 1.0
*/

get_header(); ?>

<?php /* The loop */ ?>
<?php while ( have_posts() ) : the_post(); ?>

<article id=”post-<?php the_ID(); ?>” <?php post_class(); ?>>
<header class=”entry-header”>
<?php if ( has_post_thumbnail() && ! post_password_required() ) : ?>

<?php the_post_thumbnail(); ?>

<?php endif; ?>

<h1 class=”entry-title”><?php the_title(); ?></h1>
</header><!– .entry-header –>

<?php the_content(); ?>
<?php wp_link_pages( array( ‘before’ => ‘

‘, ‘link_before’ => ‘<span>’, ‘link_after’ => ‘</span>’ ) ); ?>

<!– .entry-content –>

<footer class=”entry-meta”>
<?php edit_post_link( __( ‘Edit’, ‘twentythirteen’ ), ‘<span class=”edit-link”>’, ‘</span>’ ); ?>
</footer><!– .entry-meta –>
</article><!– #post –>

<?php comments_template(); ?>
<?php endwhile; ?>

<!– #content –>

<!– #primary –>

<?php get_sidebar(); ?>
<?php get_footer(); ?>