• I have the Live theme and the posts all display in full. I’ve taken a part or each post an placed it in the excerpt dialog box and updated each post. When I viewed my site again, I still didn’t get the excerpts to display.

    How do I get the excerpts to display in place of the whole post?

    The index.php file looks like this:

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml" xml:lang="EN" lang="EN">
    <head>
    <?php get_header(); ?>
    </head>
    <body>
    <div class="bg tac">
    <div class="main">
    <div class="header">
    <h1><a href="<?php echo get_settings('home'); ?>/" title=""><?php bloginfo('name'); ?></a></h1>			<h2 class="slogan"><?php bloginfo('description'); ?></h2>			</div>			<?php include (TEMPLATEPATH . "/blocks/navigation.php"); ?>			<div class="left-edge">
    
    <a href="http://www.simplemoneyshop.com/wrdprss">
    <img src="/images/headerv1.jpg" height=100 width=955 target=_blank></a>
    
    				<div class="right-edge">					<div class="bottom-edge">						<div class="side-paddings">							<div class="column-2 fl">								<ul class="list-3">
    <?php if (have_posts()) : ?>   <?php while (have_posts()) : the_post(); ?>
    <li>										<div class="fr">                                        	<h2><a href="<?php the_permalink() ?>" class="title-2" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2>											<div class="list-title-info">Filed under <?php the_category(', ') ?></div>                                           <?php if(function_exists('the_ratings')) { the_ratings(); } ?>  										</div>										<div class="date fl">											<span><?php the_time('M') ?></span>											<?php the_time('j') ?>										</div>																				<div class="text clear">										<?php the_content('Read the rest of this entry &raquo;'); ?>										</div>																				<div class="list-title-info"><?php the_tags('Tagged as: ', ', ', '<br />'); ?></div>																				<div class="link-list">                                            <?php comments_popup_link('No Comments', '1 Comment', '% Comments', 'ico-2'); ?>											<!-- <a href="item.html" title="" class="ico-1">Permalink</a> -->										</div>									</li>									<?php edit_post_link('Edit', '<p>', '</p>'); ?>																		<?php endwhile; ?>                                                                    <?php else : ?>                            	<li>                                    <h2 class="center">Not Found</h2>                                    <p class="center">Sorry, but you are looking for something that isn't here.</p>                                    <?php include (TEMPLATEPATH . "/searchform.php"); ?>                            	</li>                                <?php endif; ?>								</ul>                                <div class="navigation">                                    <div class="alignleft"><?php next_posts_link('&laquo; Older Entries') ?></div>                                    <div class="alignright"><?php previous_posts_link('Newer Entries &raquo;') ?></div>                                </div>							</div>                            <?php get_sidebar(); ?>							<div class="clr">&nbsp;</div>						</div>					</div>				</div>			</div>			<?php get_footer(); ?>		</div>	</div>
    <p>
    <script src="http://www.simplemoneyshop.com/peel/peel.js" type="text/javascript"></script>
    </p></body></html>

    Thanks,

    Bob Gatto

Viewing 2 replies - 1 through 2 (of 2 total)
  • Try replacing <?php the_content('Read the rest of this entry &raquo;'); ?> with:

    <?php the_excerpt();?>
    <p><a href="<?php the_permalink(); ?>">Read the rest of this entry &raquo;</a></p>
    Thread Starter bgatto

    (@bgatto)

    Thanks. That solved the problem.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘I can’t display excerpts’ is closed to new replies.