Title: Summary For 2nd Post
Last modified: August 19, 2016

---

# Summary For 2nd Post

 *  Resolved [chanel](https://wordpress.org/support/users/chanel/)
 * (@chanel)
 * [17 years, 4 months ago](https://wordpress.org/support/topic/summary-for-2nd-post/)
 * I was wondering is there a special coding or a special plugin that will allow
   me to show the Full Text for the most recent post and then for the remainder 
   that loads on the Main Page are just summaries?
 * For Example:
    In my Reading settings in the “Blog pages show at most” I have 
   2. However, I want the recent post to be full text and the 2nd post be a summary.

Viewing 9 replies - 1 through 9 (of 9 total)

 *  [MichaelH](https://wordpress.org/support/users/michaelh/)
 * (@michaelh)
 * [17 years, 4 months ago](https://wordpress.org/support/topic/summary-for-2nd-post/#post-952164)
 * Solutions abound:
    [http://www.idratherbewriting.com/2008/07/31/wordpress-tip-show-the-latest-post-in-full-then-summaries-of-the-other-posts/](http://www.idratherbewriting.com/2008/07/31/wordpress-tip-show-the-latest-post-in-full-then-summaries-of-the-other-posts/)
 * found with this search:
    [http://www.google.com/search?q=wordpress+show+full+content+for+first+post](http://www.google.com/search?q=wordpress+show+full+content+for+first+post)
 *  Thread Starter [chanel](https://wordpress.org/support/users/chanel/)
 * (@chanel)
 * [17 years, 4 months ago](https://wordpress.org/support/topic/summary-for-2nd-post/#post-952167)
 * thanks Michael. I always search Google and these forums first before I post but
   i never word it properly to get efficient results. I’ll try those soon and update
   this thread once i try it.
 *  [figaro](https://wordpress.org/support/users/figaro/)
 * (@figaro)
 * [17 years, 4 months ago](https://wordpress.org/support/topic/summary-for-2nd-post/#post-952171)
 * [@chanel](https://wordpress.org/support/users/chanel/)
 * Arrived here from your post in the other thread…looks like [@michaelh](https://wordpress.org/support/users/michaelh/)
   has beat me to it 🙂 Good luck…that first link should work well for you.
 *  Thread Starter [chanel](https://wordpress.org/support/users/chanel/)
 * (@chanel)
 * [17 years, 4 months ago](https://wordpress.org/support/topic/summary-for-2nd-post/#post-952180)
 * hey figaro thanks!
 * I’m trying to make sense of the provided link, but it looks a bit convoluted 
   to me. Plus it’s only going to show the title of the other posts and not an actual
   summary with a “read more” link.
 * …or am i reading it wrong?
 *  [MichaelH](https://wordpress.org/support/users/michaelh/)
 * (@michaelh)
 * [17 years, 4 months ago](https://wordpress.org/support/topic/summary-for-2nd-post/#post-952187)
 * Then wouldn’t using the [template tag](http://codex.wordpress.org/Template_Tags),
   [the_content()](http://codex.wordpress.org/Template_Tags/the_content) for one
   case and [the_excerpt()](http://codex.wordpress.org/Template_Tags/the_excerpt)
   for the other work.
 * Other resources:
    [http://www.wprecipes.com/datadial-asked-how-can-i-display-1-full-post-and-3-excerpts](http://www.wprecipes.com/datadial-asked-how-can-i-display-1-full-post-and-3-excerpts)
   [Customizing_the_Read_More](http://codex.wordpress.org/Customizing_the_Read_More)
 *  Thread Starter [chanel](https://wordpress.org/support/users/chanel/)
 * (@chanel)
 * [17 years, 4 months ago](https://wordpress.org/support/topic/summary-for-2nd-post/#post-952200)
 * Ok. I’m messing it all up, lol. I’ve tried putting the codes in the right places
   but I’m not getting it right.
 * Here’s the index.php. Can someone show me where I need to put it?
 * > <?php get_header(); ?>
   >  <div id=”side-left”> <div id=”content”>
   >  <?php if (have_posts()) : ?>
   >  <?php while (have_posts()) : the_post(); ?>
   >  <div class=”kutu”> <div class
   > =”ust”><span></span></div> <div class=”post” id=”post-<?php the_ID(); ?>”> 
   > <img src=”[http://chanellie.com/diarylock.gif&#8221](http://chanellie.com/diarylock.gif&#8221);
   > align=”left”><h2>” rel=”bookmark” title=”<?php the_title_attribute(); ?>”><?
   > php the_title(); ?></h2> <font color=”#B890DC”><?php the_time(‘F d, Y’) ?> 
   > | <?php comments_popup_link(‘No Comment’, ‘1 Comment’, ‘% Comments’); ?></font
   > > <div class=”tags”><?php the_tags(‘Tags: ‘, ‘, ‘, ”); ?></div>
   >  <div class=”entry” align=”justify”>
   >  <?php the_content(‘ ‘); ?>
   >  </div>
   >  <br class=”clear” /> <div class=”postmetadata”>Click ” rel=”bookmark”
   > title=”Permanent Link to <?php the_title(); ?>” class=”more”>here to ” rel=”
   > bookmark” title=”Permanent Link to <?php the_title(); ?>” class=”more”>read
   > more
   >  of this post…</div>
   >  </div>
   >  <div class=”alt”><span></span></div></div>
   >  <?php endwhile; ?>
   >  <div id=”navigation”>
   >  <div class=”alignleft”><?php next_posts_link(‘**Older
   > Entries**‘) ?></div> <div class=”alignright”><?php previous_posts_link(‘**Newer
   > Entries**‘) ?></div> </div>
   >  <?php else : ?>
   >  <div class=”kutu”>
   >  <div class=”ust”><span></span></div> <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”); ?> <
   > div class=”alt”><span></span></div></div>
   >  <?php endif; ?>
   >  </div>
   >  </div> <?php get_sidebar(); ?> <?php get_footer(); ?>
 *  [MichaelH](https://wordpress.org/support/users/michaelh/)
 * (@michaelh)
 * [17 years, 4 months ago](https://wordpress.org/support/topic/summary-for-2nd-post/#post-952206)
 * Change
 *     ```
       <?php if (have_posts()) : ?>
       ```
   
 * to
 *     ```
       <?php if (have_posts()) : ?>
       <?php $count = 0; ?>
       ```
   
 * change
 *     ```
       <?php the_content(' '); ?>
       ```
   
 * to
 *     ```
       <?php $count++; ?>
       <?php if ($count < 2) : ?>
       <?php the_content() ?>
       <?php else : ?>
       <?php the_excerpt(); ?>
       <?php endif; ?>
       ```
   
 * more or less …. 😉
 *  Thread Starter [chanel](https://wordpress.org/support/users/chanel/)
 * (@chanel)
 * [17 years, 4 months ago](https://wordpress.org/support/topic/summary-for-2nd-post/#post-952216)
 * yayyy, that did it. Lovely Michael!
 * One more thing, how can I change the 55 word limit? I’d like a littttttttle bit
   more showing. lol
 *  Thread Starter [chanel](https://wordpress.org/support/users/chanel/)
 * (@chanel)
 * [17 years, 4 months ago](https://wordpress.org/support/topic/summary-for-2nd-post/#post-952236)
 * nevermind. i found where i can change it. it’s located in wp-includes/formatting.
   php, somewhere after line 779 is this
 * >  /**
   >  * Generates an excerpt from the content, if needed. * * The excerpt word
   > amount will be 55 words and if the amount is greater than * that, then the 
   > string ‘[…]’ will be appended to the excerpt. If the string * is less than 
   > 55 words, then the content will be returned as is. * * [@since](https://wordpress.org/support/users/since/)
   > 1.5.0 * * [@param](https://wordpress.org/support/users/param/) string $text
   > The exerpt. If set to empty an excerpt is generated. * [@return](https://wordpress.org/support/users/return/)
   > string The excerpt. */ function wp_trim_excerpt($text) { if ( ” == $text ) {
   > $text = get_the_content(”);
   >  $text = strip_shortcodes( $text );
   >  $text = apply_filters(‘the_content’, $text);
   >  $text = str_replace(‘]]>’, ‘]]
   > >’, $text); $text = strip_tags($text); $excerpt_length = apply_filters(‘excerpt_length’,
   > 55); $words = explode(‘ ‘, $text, $excerpt_length + 1); if (count($words) >
   > $excerpt_length) { array_pop($words); array_push($words, ‘[…]’); $text = implode(‘‘,
   > $words);
 * I changed 55 to 150. 😀 !!!

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘Summary For 2nd Post’ is closed to new replies.

## Tags

 * [full-text](https://wordpress.org/support/topic-tag/full-text/)
 * [summary](https://wordpress.org/support/topic-tag/summary/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 9 replies
 * 3 participants
 * Last reply from: [chanel](https://wordpress.org/support/users/chanel/)
 * Last activity: [17 years, 4 months ago](https://wordpress.org/support/topic/summary-for-2nd-post/#post-952236)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
