Support » Fixing WordPress » How : child theme / content.php / Continue reading excerpts(not Functions.php) ?

  • 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.