Support » Fixing WordPress » Post Summary

Viewing 5 replies - 1 through 5 (of 5 total)
  • looks like your main blog page. edit file index.php and change the_content() to the_excerpt() that will show the summary (called an excerpt in WP)

    Did that –

    <?php get_header(); ?>
    <?php include(TEMPLATEPATH."/sidebar_l.php");?>
    <!-- Main Post Content starts from here -->
    <div id="content">
    			<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
    			<div class="entries"><!-- entries-->
    			<h3 class="heading"><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></h3>
    			<div class="post"><!--post-->
    			<?php the_excerpt(('<strong>Read More...</strong>'));?>

    Still doing it though.

    Andy

    Ok, i managed to get it to show as an excerpt, but when i go to the category its full size again, i only want it to be full size when you go onto the item in question.

    How do i add a “Read More” button also?

    Andy

    Your archive.php needs the_excerpt too! And your search.php probably as well. There’s also excerpt plugins in the plugin section to do all that for you (and prettier too).

    Either “read more” or the excerpt. Out of the box you cannot have both.

    However, search for excerpt related plugins to make it as you would like it.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Post Summary’ is closed to new replies.