Title: WP edits not recognized
Last modified: August 19, 2016

---

# WP edits not recognized

 *  [smartyd](https://wordpress.org/support/users/smartyd/)
 * (@smartyd)
 * [16 years ago](https://wordpress.org/support/topic/wp-edits-not-recognized/)
 * I wanted to display one full post plus excerpts on the front page, and was able
   to do so by adding:
    <?php $i = 0; while (have_posts()) : the_post(); $i++; ?
   > to the top of the index (instead of <?php while (have_posts()) : the_post();?
   >) But suddenly it stopped working. So I decided to have all the front page show
   as excerpts, so changed <?php the_content(); ?> to <?php the_excerpt(); ?> That
   worked. But then I changed my mind and put it back to “content.” Now I still 
   get only excerpts showing. Why won’t WP recognize my edits? I tried closing the
   browser and re-opening it, but nothing. All I get are excerpts on the front page.
   Help! Thanks!

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

 *  Thread Starter [smartyd](https://wordpress.org/support/users/smartyd/)
 * (@smartyd)
 * [16 years ago](https://wordpress.org/support/topic/wp-edits-not-recognized/#post-1491452)
 * Disregard the second part of the question (resolved).
 * Why doesn’t the code
    <?php $i = 0; while (have_posts()) : the_post(); $i++; ?
   > work to truncate the remaining posts after the first post?
 *  Thread Starter [smartyd](https://wordpress.org/support/users/smartyd/)
 * (@smartyd)
 * [16 years ago](https://wordpress.org/support/topic/wp-edits-not-recognized/#post-1491501)
 * The url. Right.
    [http://www.theamazingagingmind.com](http://www.theamazingagingmind.com)
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [16 years ago](https://wordpress.org/support/topic/wp-edits-not-recognized/#post-1491573)
 * Your front page is currently showing full posts.
 *  Thread Starter [smartyd](https://wordpress.org/support/users/smartyd/)
 * (@smartyd)
 * [16 years ago](https://wordpress.org/support/topic/wp-edits-not-recognized/#post-1491660)
 * Correct. I’d like it to show one full post and then excerpts for the rest. I 
   think it was you, esmi, who suggested the line
    <?php $i = 0; while (have_posts()):
   the_post(); $i++; ?> as a way of doing this. It worked for a while, but now it
   doesn’t anymore. Did I change it in the course of editing other stuff? Do you
   have any clue why it doesn’t work anymore? Thanks
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [16 years ago](https://wordpress.org/support/topic/wp-edits-not-recognized/#post-1491677)
 * Probably because you’re missing the second part:
 *     ```
       <?php $i = 0; while (have_posts()) : the_post(); $i++; ?>
       [ ...]
       <?php if($i == 1) the_content();
       else the_excerpt();?>
       ```
   

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

The topic ‘WP edits not recognized’ is closed to new replies.

## Tags

 * [excerpt](https://wordpress.org/support/topic-tag/excerpt/)
 * [front page](https://wordpress.org/support/topic-tag/front-page/)
 * [full](https://wordpress.org/support/topic-tag/full/)
 * [post](https://wordpress.org/support/topic-tag/post/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 5 replies
 * 2 participants
 * Last reply from: [esmi](https://wordpress.org/support/users/esmi/)
 * Last activity: [16 years ago](https://wordpress.org/support/topic/wp-edits-not-recognized/#post-1491677)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
