Title: How : child theme / content.php / Continue reading excerpts(not Functions.php) ?
Last modified: August 21, 2016

---

# How : child theme / content.php / Continue reading excerpts(not Functions.php) ?

 *  [mpesgt01](https://wordpress.org/support/users/mpesgt01/)
 * (@mpesgt01)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/how-child-theme-contentphp-continue-reading-excerptsnot-functionsphp/)
 * Excerpts works, but how can’t I have “[…]” change for “Continue reading”
    But
   why is it written in the CONTENT.PHP codes below ? Can I do it from there ? Why
   should I play with Functions.php to do this?
 * I use WP TwentyTwelve theme, with a child theme… so my Content.php is in the 
   child
 *     ```
       <?php if ( is_search() || is_archive() || is_home () ) : // Only display Excerpts for Search AND home ?>
       		<div class="entry-summary">
       			<?php the_excerpt(); ?>
       		</div><!-- .entry-summary -->
       		<?php else : ?>
       		<div class="entry-content">
       			<?php the_content( __( 'Continue reading <span class="meta-nav">&rarr;</span>', 'twentytwelve' ) ); ?>
       			<?php wp_link_pages( array( 'before' => '<div class="page-links">' . __( 'Pages:', 'twentytwelve' ), 'after' => '</div>' ) ); ?>
       		</div><!-- .entry-content -->
       		<?php endif; ?>
       ```
   

The topic ‘How : child theme / content.php / Continue reading excerpts(not Functions.
php) ?’ is closed to new replies.

## Tags

 * [child](https://wordpress.org/support/topic-tag/child/)
 * [content php](https://wordpress.org/support/topic-tag/content-php/)
 * [excerpts](https://wordpress.org/support/topic-tag/excerpts/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 0 replies
 * 1 participant
 * Last reply from: [mpesgt01](https://wordpress.org/support/users/mpesgt01/)
 * Last activity: [12 years, 7 months ago](https://wordpress.org/support/topic/how-child-theme-contentphp-continue-reading-excerptsnot-functionsphp/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
