corey
asked 10 years ago

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!

corey horob
replied 10 years ago

The title should have been blog template, not excerpt. Thanks

4 Answers
DominicStaff
answered 10 years ago

Hello Crey !
Please send me username & password of your site for further checking.
Regards,

corey horob
replied 10 years ago

replied

Wilfred
answered 10 years ago

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!

corey
replied 10 years ago

Thanks!

corey
answered 10 years ago

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?

Wilfred
answered 10 years ago

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!

Powered by DW Question & Answer Pro