Moderator
Jan Dembowski
(@jdembowski)
Forum Moderator and Brute Squad
Make a child theme of Yoko.
http://codex.wordpress.org/Child_Themes
Create wp-content/themes/yoko-child/style.css
and put in these lines:
/*
Theme Name: Yoko Child Theme
Author: Self-Help WordPress User
Template: yoko
*/
@import url("../yoko/style.css");
Now copy the file content.php
from the yoko
directory to yoko-child
. Just that one file called content.php
and not the other files.
In that copy yoko-child/content.php
file replace line 44 which reads
<?php the_content( __( 'Continue Reading →', 'yoko' ) ); ?>
with this line
<?php the_excerpt(); ?>
And that’s it. You’ll now have excerpts in the home page instead of the full content.
Thanks Jan, I tried like what you mentioned. But I liked to add few extra things.
Just instead of using
<?php the_excerpt(); ?>
if you use the code below this that will look good
<?php the_excerpt( __( 'Continue Reading →', 'yoko' ) ); ?>
Just thought of Sharing. Thanks for the help.
Thanks for this, we are trying to get our blog using the yoko theme, http://yourhealth24-7.caresimple.com to show only the summary v. whole post, and looking for any other advice on how we might improve look, feel, and usability. Mapping it to http://www.caresimple.com
Thanks,
James