You can use the More tag in any theme to do that, adding it where you want the post to break:
<!--more-->
There’s also a button for it in the post editor.
Here’s a tutorial:
http://www.wpbeginner.com/beginners-guide/how-to-properly-use-the-more-tag-in-wordpress/
Kathryn, I have more than 779 post and editing them all does not make sense for me 🙁 Is there any way to add something to theme code?
thanks!
peter
Sure, you can create a child theme and then make a theme modification, so your tweaks won’t be overwritten when updating the theme. Here are some guides in case you haven’t made one before:
http://codex.wordpress.org/Child_Themes
http://op111.net/53/
http://vimeo.com/39023468
Once your child theme is set up, make a copy of content.php and put it into your child theme folder.
In that file in your child theme, change line 25 from this:
<?php if ( is_search() ) : // Only display Excerpts for Search ?>
to this:
<?php if ( is_search() || is_home() ) : // Only display Excerpts for Search or Blog ?>
Let me know how it goes.
Hi Kathryn,
thank you for your assitance. This editation added […] to blog posts and search results. Is there any way to have it as hyperlink?
I got it in WP documentation. This has to be added into fucntions.php
function new_excerpt_more( $more ) {
return ‘ ‘ . __( ‘Read More’, ‘your-text-domain’ ) . ‘‘;
}
add_filter( ‘excerpt_more’, ‘new_excerpt_more’ );
Thailon
Exactly! Be sure to add the function in your child theme and not the parent so it doesn’t get overwritten every time you update the theme.