Title: Excerpt &quot;Read more&quot; modifying
Last modified: August 20, 2016

---

# Excerpt "Read more" modifying

 *  Resolved [s0what](https://wordpress.org/support/users/s0what/)
 * (@s0what)
 * [14 years, 10 months ago](https://wordpress.org/support/topic/excerpt-read-more-modifying/)
 * Hello!
 * I have problems modifying Read More for excerpt.
    I have following code to display
   posts:
 *     ```
       <?php
       $args = array( 'numberposts' => 4,'post_type' => 'offers' );
       $lastposts = get_posts( $args );
       foreach($lastposts as $post) : setup_postdata($post); ?>
       <h3><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h3>
       <?php the_excerpt(); ?>
       <?php endforeach; ?>
       ```
   
 * And I am trying to use this filter:
 *     ```
       function custom_excerpt_more( $more ) {
       	return '[.....]';
       }
       add_filter( 'excerpt_more', 'custom_excerpt_more' );
       ```
   
 * But nothing happens 🙁 Where’s a problem?

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

 *  [Chip Bennett](https://wordpress.org/support/users/chipbennett/)
 * (@chipbennett)
 * [14 years, 10 months ago](https://wordpress.org/support/topic/excerpt-read-more-modifying/#post-2193724)
 * Have you enabled excerpt support for your “offers” custom post type?
 *  Thread Starter [s0what](https://wordpress.org/support/users/s0what/)
 * (@s0what)
 * [14 years, 10 months ago](https://wordpress.org/support/topic/excerpt-read-more-modifying/#post-2193734)
 * Yes, excerpt is displayed, but instead of “[…..]” I see “Continue reading →”
 *  [Chip Bennett](https://wordpress.org/support/users/chipbennett/)
 * (@chipbennett)
 * [14 years, 10 months ago](https://wordpress.org/support/topic/excerpt-read-more-modifying/#post-2193760)
 * What Theme are you using?
 * Check `functions.php` to ensure that `excerpt_more` isn’t already being filtered.
 *  Thread Starter [s0what](https://wordpress.org/support/users/s0what/)
 * (@s0what)
 * [14 years, 10 months ago](https://wordpress.org/support/topic/excerpt-read-more-modifying/#post-2193878)
 * thank you Chip! I was using TwentyTen theme and this filter was already used 
   🙂 so lame..
 *  [Chip Bennett](https://wordpress.org/support/users/chipbennett/)
 * (@chipbennett)
 * [14 years, 10 months ago](https://wordpress.org/support/topic/excerpt-read-more-modifying/#post-2193879)
 * > thank you Chip! I was using TwentyTen theme and this filter was already used
   > 🙂 so lame..
 * In that case, it’s easy to override, by passing a higher priority. I assume the
   Twenty Ten filter uses the default priority (10), so try passing a priority of
   11:
 *     ```
       add_filter( 'excerpt_more', 'custom_excerpt_more', 11 );
       ```
   

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

The topic ‘Excerpt "Read more" modifying’ is closed to new replies.

 * 5 replies
 * 2 participants
 * Last reply from: [Chip Bennett](https://wordpress.org/support/users/chipbennett/)
 * Last activity: [14 years, 10 months ago](https://wordpress.org/support/topic/excerpt-read-more-modifying/#post-2193879)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
