Problem with page.php
-
(In Firefox) The problem I’m having is when I view my pages the sidebar doesn’t display properly or at all. On the home page it displays right. The body image that covers both the sidebar and the body of the site gets cut off on some of the pages as well on the far right side. The Navigation and the footer display properly though.
———————————————————————
page.php<?php get_header(); ?>
<div id=”content”><?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?><div class=”post”>
<h2><?php the_title(); ?></h2>
</div>
<div class=”entry”>
<?php the_content(‘Read the rest of this page »’); ?><?php wp_link_pages(array(‘before’ => ‘<p>Pages: ‘, ‘after’ => ‘</p>’, ‘next_or_number’ => ‘number’)); ?>
</div><?php comments_template(); ?>
</div><?php endwhile; ?>
<div class=”navigation”>
<span class=”previous-entries”><?php previous_post_link(‘%link’)?></span>
<span class=”next-entries”><?php next_post_link(‘%link’)?></span>
</div><?php else : ?>
<h2>Not Found</h2>
<p>Sorry, but you are looking for something that isn’t here.</p><?php endif; ?>
</div>
<!–/content –><?php get_sidebar(); ?>
<?php get_footer(); ?>
- The topic ‘Problem with page.php’ is closed to new replies.