Hi,
I would like to set smaller summaries for my posts to my main category page: http://mobiilikasinot.net/uutiset/. Now, it shows the whole text on that page and on post page.
I would also like to hide the date, category and author from posts. How can I do that?
Thanks for the help!
Hi GoodGame!
Thank you for using the theme!
You can use the <!–more–> tag or use the Excerpt metabox to configure the archive excerpt. If you don’t want to do that, edit archive.php, find this code on line 184:
echo $content;
Replace it with this:
if(!is_archive()){
echo $content;
} else {
$excerpt = get_the_post_thumbnail( get_the_ID(), "large"); get_the_excerpt();
$excerpt .= get_the_excerpt();
echo $excerpt.'<a href="'.get_permalink().'" class="more-link">'.__('Read more','avia_framework').'<span class="more-link-arrow"> →</span></a>';
}
Cheers!
Ismael
Thanks a lot for the help!