Sidebar drops in Custom Community theme
-
Hi,
The sidebar is dropping to the footer and I have search internet for hours, but I cannot find the solution.
Does anybody know what to do, because my HTML knowledge isn’t very wel and I think it might be in the <div> but I don’t know for sure.
And I am using Woocommerce.This is the code, thnx
<?php get_header(); ?> <div id="content" class="span8"> <div class="padder"> <?php do_action( 'bp_before_blog_page' ) ?> <div class="page" id="blog-page"> <?php if (have_posts()) : while (have_posts()) : the_post(); ?> <?php $is_title_hidden = get_post_meta(get_the_ID(), '_cc_hide_title', TRUE); ?> <?php if(empty($is_title_hidden) || $is_title_hidden == 'no'): $center_title = get_post_meta(get_the_ID(), '_cc_center_title', TRUE); ?> <!--<h2 class="pagetitle <?php if(!empty($center_title) && $center_title == 'yes') echo 'title-center'?>"><?php the_title(); ?></h2>--> <?php endif;?> <div id="post-<?php the_ID(); ?>" <?php post_class(); ?>> <div class="entry"> <?php the_content( __( '<p class="serif">Read the rest of this page →</p>', 'cc' ) ); ?> <div class="clear"></div> <?php wp_link_pages( array( 'before' => __( '<p class="cc_pagecount"><strong>Pages:</strong> ', 'cc' ), 'after' => '</p>', 'next_or_number' => 'number')); ?> </div> <div class="clear"></div> </div> <?php endwhile; endif; ?> </div><!-- .page --> <?php cc_list_posts_on_page(); ?> <div class="clear"></div> <?php do_action( 'bp_after_blog_page' ) ?> <?php edit_post_link( __( 'Edit this page.', 'cc' ), '<p class="edit-link">', '</p>'); ?> <!-- instead of comment_form() we use comments_template(). If you want to fall back to wp, change this function call ;-) --> <?php comments_template(); ?> </div><!-- .padder --> </div><!-- #content --> <?php get_footer(); ?>
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Sidebar drops in Custom Community theme’ is closed to new replies.