I’ve created a blog page using the blog template and I’d like to have excerpts with a read more tag. I’ve tried the plugin you suggested in a different support question but it didn’t work for me.
Thanks!
Hello Crey !
Please send me username & password of your site for further checking.
Regards,
replied
Hi Corey,
To resolve this issue please follow my instruction here:
1. Open content.php in /wp-content/themes/ your theme /content.php
2. Replace following code – line 41
the_content( '...' );
with:
if (is_page_template( 'template-blog.php' ) ) {
the_excerpt();
} else {
the_content( '...' );
}
Hope this helps!
Thanks!
I’m now trying to change the “read more” text. I’ve changed it to the_content( ‘Read More’ ); however it’s not updating. I’m guessing I’m missing something?
Hi corey,
You can not update your customization for ‘read more’ text because your blog page is using the_excerpt(). So, to do that, you do as following:
1. Open functions.php in /wp-content/themes/dw-focus/functions.php
2. Replace “…” with “Read more” – line 993
Save it and see how that goes!
Hope this helps!
Please login or Register to submit your answer
replied 9 years ago
The title should have been blog template, not excerpt. Thanks