With the launch of WordPress 3.6 Twenty Thirteen is the default theme, its much responsive than the older one and feature rich with vibrant colors. By default in Twenty Thirteen displays full posts in home page, category, tag, author and archive pages except search results page.
By displaying excerpts in home page you can achieve a neat look on your blog and also it reduces the loading time by showing a short summary of your posts. This can be achieved by using a simple code in content.php.
Before making any changes on any theme take a backup of your theme so that you will not lose the theme if you make the changes in wrong way.
Open content.php from c-panel which is located at /wp-content/themes/twentythirteen/ or you can directly access this file from WordPress dashboard
Goto Appearence [icon name=”icon-angle-right”] Editor [icon name=”icon-angle-right”] content.php.
Find the below line
<?php if ( is_search() ) : // Only display Excerpts for Search ?>
Change it with below piece of code
<?php if ( is_search() || is_author() || is_tag() || is_archive() || is_home () ) : ?>
Save content.php and refresh your site. You should see posts displayed as excerpts. If you don’t want to show excerpts in author page just remove is_author() || from the above code.
Hope this tutorial helps you, if you have any doubts feel free to comment here.
Thanks for that; was looking for a solution on my blog (velanche.com), and this is where I found it.
Thanks and keep visiting
Thank you!! My blog looks much cleaner now!
Thank!! Exactly what I need!
Glad you like it.
Maaan! I dont know how to thank you for this but google needs to index you in the top for this issue, you’re my savior thanks alot. Big up!!
I’ve found the content.php file in my 2013 theme. I know nothing about code and am probably seeing difficulties where there are none….. but can you clarify for me.
In the above instructions do you mean delete this bit of code completely:
and replace it with :
Or do you mean insert the second piece of code to extend the statement as in:
Ha, well I posted in the two bits of code from your post into my comment but they haven’t appeared! Hope what I’m trying to ask makes sense….
Yes completely delete that first line of code and replace with second code.
By default in 2013 theme only search page shows in excerpts so what we have done is add home page, tag page and archive page showing in excerpts.
Hope you got it. If still you’ve any issues let me know I can help you.