Full Story On Front Page Problem.
-
Hello I have tried everything, and I really need help!
I have changed <?php the_excerpt(); ?> to <?php the_content(); ?> but this is what happens when I do. It shows the full story but it puts it over the excerpt and messes up the whole page.
Screenshot:
http://img828.imageshack.us/img828/5476/messup.pngSite Url:
http://sacredterm.no-ip.org/testing/Unedited Index.php:
<?php get_header(); ?>
<div id=”content”>
<?php if (have_posts()) : ?>
<?php $count = 0; ?>
<?php while (have_posts()) : the_post(); ?>
<div <?php post_class(‘box’) ?> id=”post-<?php the_ID(); ?>”><div class=”boxcover”>
<div class=”entry”>
<div class=”boximage”>
<div class=”boxtitle”>
<h2>” rel=”bookmark” title=”Permanent Link to <?php the_title(); ?>”><?php echo ShortenText(get_the_title()); ?></h2>
</div><?php if ( has_post_thumbnail() ) {?>
<?php the_post_thumbnail( ‘home-thumbnail’ );?>
<?php } else { ?>
<img src=”<?php bloginfo(‘template_directory’); ?>/images/place.jpg” alt=”” />
<?php } ?></div>
<?php the_excerpt(); ?>
<div class=”clear”></div>
</div>
</div><div class=”boxinfo”>
<div class=”boxauthor”>Posted by <?php the_author(); ?> </div>
<div class=”boxmore”>” title=”Permanent Link to <?php the_title(); ?>”>Read Full Post </div>
<div class=”boxcoms”><?php comments_popup_link(‘0’, ‘1’, ‘%’,”,” ); ?> </div>
</div></div>
<?php if(++$counter % 2 == 0) : ?>
<div class=”clear”></div>
<?php endif; ?>
<?php endwhile; ?><div class=”clear”></div>
<div id=”navigation”>
<?php if(function_exists(‘wp_pagenavi’)) : ?>
<?php wp_pagenavi() ?>
<?php else : ?>
<div class=”alignleft”><?php next_posts_link(__(‘« Older Entries’,’arclite’)) ?></div>
<div class=”alignright”><?php previous_posts_link(__(‘Newer Entries »’,’arclite’)) ?></div>
<div class=”clear”></div>
<?php endif; ?></div>
<?php else : ?>
<h1 class=”title”>Not Found</h1>
<p>Sorry, but you are looking for something that isn’t here.</p><?php endif; ?>
</div>
<?php get_sidebar(); ?>
<?php get_footer(); ?>
Can someone please help me or show me what I have to do or edit to get this working.
- The topic ‘Full Story On Front Page Problem.’ is closed to new replies.