Skip to:
Content
Pages
Categories
Search
Top
Bottom

No sidebar in the root of the forum!

  • @chrischros34gmailcom

    Participant

    Hi everyone, I need help, so I am appealing to the community.
    I spent many hours trying to fix this display, but I can not.
    Version of WordPress: 4.0
    Version of bbpress: 2.5.4
    Template: WP-Critique

    I can not be specific to the forum sidebar to the racine, but I have elsewhere (subjects, answers …).
    Here is my forum http://www.googland.fr/forums/
    I carefully followed the help provided on https://codex.bbpress.org/step-by-step-guide-to-setting-up-a-bbpress-forum/ (part 8), I have certainly misunderstood.

    I created my bbpress.php based on page.php, here is the code.

    <?php get_header(); ?>
    
    	<?php global $wp_query; $postid = $wp_query->post->ID; ?>
    
    	<div id="page" class="clearfix">
    
    		<div id="contentleft">
    
    			<?php if ( get_post_meta( $postid, 'post_featcontent', true ) == "Narrow Width Featured Content Slider" ) { ?>
    				<?php include (TEMPLATEPATH . '/featured-narrow.php'); ?>
    			<?php } ?>
    
    			<?php if ( get_post_meta( $postid, 'post_featgalleries', true ) == "Yes" ) { ?>
    				<?php include (TEMPLATEPATH . '/featured-galleries.php'); ?>
    			<?php } ?>
    
    			<div id="content" class="maincontent">
    
    				<?php if ( function_exists('yoast_breadcrumb') ) { yoast_breadcrumb('<p id="breadcrumbs">','</p>'); } ?>
    
    				<?php include (TEMPLATEPATH . '/banner468.php'); ?>
    
    <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
    
    				<div class="post clearfix" id="post-main-<?php the_ID(); ?>">
    
    					<div class="entry">
    
    						<h1 class="page-title"><?php the_title(); ?></h1>
    
    						<?php if ( get_post_meta( $post->ID, 'video_embed', true ) ) { ?>
    							<div class="single-video">
    								<?php echo get_post_meta( $post->ID, 'video_embed', true ); ?>
    							</div>
    						<?php } ?>
    
    						<?php the_content(); ?>
    
    						<div style="clear:both;"></div>
    
    						<?php wp_link_pages(); ?>
    
    					</div>
    
    				</div>
    
    <?php endwhile; endif; ?>
    				
    			</div>
    
    			<?php include (TEMPLATEPATH . '/sidebar-narrow.php'); ?>
    
    		</div>
    
    <?php get_sidebar(); ?>
    
    <?php get_footer(); ?>

    Can anyone tell me how to edit the file and what I have to put into it.
    I would be very grateful for help.
    Thank you

  • You must be logged in to reply to this topic.
Skip to toolbar