• Hello I am trying to display full posts on my home page of my wordpress site but for some reason it will only display exerpts. I have tried changing stuff in the index.php file but it will display the full post over the exerpt and mess up the whole page. Here is my index.php can someone please help me with this?

    <?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(); ?>

Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Trying to display full post on home page.’ is closed to new replies.