Removing break in entry body
-
I am a beginner at this so bear with me…
I made some changes to the Page template on my site (www.helenslee.com)in order to remove the entry header (h1) on my home page. In doing so, I created a break in the entry top and entry body sections. It only appears on the home page b/c that is how I changed the code on the template.
Here is the code (I’ve bolded where I think the error might be):
<?php get_header(); ?> <div id="content"> <?php if (have_posts()) : while (have_posts()) : the_post(); ?> <div class="entry_body_top"></div> <<strong>div class="entry_body" > <?php if (!is_page(35) ) { ?> <h1><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h1> <?php } ?></strong> <?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')); ?> <?php endwhile; endif; ?> <div style="clear:both;height:10px;"></div> </div> <div class="entry_body_bottom"></div> </div> <?php get_sidebar(); ?> <?php get_footer(); ?>
Any help would be greatly appreciated.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Removing break in entry body’ is closed to new replies.