Sidebar pushed to bottom
-
I recently installed the ‘Now Reading Reloaded’ application and when I click on a book title to view a single entry (same for Library and author list) the sidebar gets pushed to the bottom. I’ve tried everything I can think of, I just can’t seem to get the sidebar to load on the right where it should be.
My themes ‘page.php’ file looks as follows
<?php get_header(); ?> <div class="contentLayout"> <div class="content"> <div class="Block"> <div class="Block-body"> <div class="BlockContent"> <div class="BlockContent-body"> <?php if (have_posts()) : while (have_posts()) : the_post(); ?> <div class="post" id="post-<?php the_ID(); ?>"> <h2><?php the_title(); ?></h2> <div class="entry"> <?php the_content('<p class="serif">Read the rest of this page »</p>'); ?> <?php wp_link_pages(array('before' => '<p><strong>Pages:</strong> ', 'after' => '</p>', 'next_or_number' => 'number')); ?> </div> </div> <?php endwhile; endif; ?> <?php edit_post_link('Edit this entry.', '<p>', '</p>'); ?> </div> </div> </div> <div class="Block-tl"></div> <div class="Block-tr"><div></div></div> <div class="Block-bl"><div></div></div> <div class="Block-br"><div></div></div> <div class="Block-tc"><div></div></div> <div class="Block-bc"><div></div></div> <div class="Block-cl"><div></div></div> <div class="Block-cr"><div></div></div> <div class="Block-cc"></div> </div> </div> <div class="sidebar1"> <?php include (TEMPLATEPATH . '/sidebar1.php'); ?> </div> </div> <?php get_footer(); ?>For reading reloaded, single.php looks as follows:
<?php get_header(); global $nr_id; ?> <div class="content"> <div id="content" class="narrowcolumn primary now-reading"> <div class="post"> <?php if( have_books(intval($nr_id)) ) : ?> <?php while ( have_books(intval(nr_id)) ) : the_book(); ?> <?php if( can_now_reading_admin() ) : ?> <p>Admin: » <a href="<?php manage_library_url() ?>">Manage Books</a> » <a href="<?php book_edit_url() ?>">Edit this book</a></p> <?php endif; ?> <?php library_search_form() ?> <p><a href="<?php library_url() ?>">← Back to library</a></p> <h2><?php book_title() ?></h2> <p>By <a href="<?php book_author_permalink() ?>"><?php book_author() ?></a></p> <p> <a href="<?php book_url() ?>"><img src="<?php book_image() ?>" alt="<?php book_title() ?>" /></a> </p> <?php if( !is_custom_book() ): ?> <p>You can view this book's Amazon detail page <a href="<?php book_url() ?>">here</a>.</p> <?php endif; ?> <?php if( book_has_post() ): ?> <p>This book is linked with the post <a href="<?php book_post_url() ?>">“<?php book_post_title() ?>”</a>.</p> <?php endif; ?> <p>Tags: <?php print_book_tags(1) ?></p> <dl> <dt>Started reading:</dt> <dd><?php book_started() ?></dd> <dt>Finished reading:</dt> <dd><?php book_finished() ?></dd> <?php print_book_meta(0); ?> </dl> <div class="review"> <h3>Review</h3> <p><strong>Rating:</strong> <?php book_rating() ?></p> <?php book_review() ?> </div> <?php endwhile; ?> <?php else : ?> <p>That book doesn't exist!</p> <?php endif; ?> <?php do_action('nr_footer'); ?> </div> </div> <?php get_sidebar(); ?> </div> <?php get_footer(); ?>Any help would be appreciated, thanks.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘Sidebar pushed to bottom’ is closed to new replies.