Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #279941

    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!

    #279970

    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">  &rarr;</span></a>';
    			}

    Cheers!
    Ismael

    #282186

    Thanks a lot for the help!

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘How to modify post summaries?’ is closed to new replies.