Forum has been created to help all our customers in properly working our theme. We offer complete help with configuration theme and make default look, just like on our Caffeine demo. We don`t offer theme customization.

Before creating a new discussion, please:
1. Check on forum if discussion hasn`t been created before. Use the forum Search on the right.
2. Read carefully the documentation included to package.
If you didn`t find what you need and would like to post a new question click the "Start a New Discussion" button on the right.
4. You can post on forum only after registration (you need purchase code to register) .

NOTE!!! If you are starting a new topic and have got problems with your site and you want us to check what`s wrong please always give url to your site because without that we can`t check what`s wrong. Each case may be different because of your installed plugins, servers or other things.

How to add excerpt for Latest Posts

  • Hi,

    Is it possible to modify the code in order to add excerpt to the post's blog for Latest Posts.

    I think this is a good thing to have more text on a home page with the latest posts of a blog...

    Thank you in advance,
  • 3 Comments sorted by
  • Hi,

    Thanks for your answer.
    I see the sc_latest_posts function in functions/theme-shortcodes.php.
    I try to add the_excerpt() as this example :
    $output .= '<div class="info">';
    $output .= '<h6><a href="'. get_permalink( $post->ID ) .'">'. $post->post_title .'</a></h6>';
    $output .= '<span class="date">'. get_the_time('F j, Y', $post->ID) .'</span>';
    $output .= '<p>'. the_excerpt() .'</p>';
    $output .= '</div>';
    And I added on my articles the tag <!--more-->.
    It does not seem to work... I see on my homepage this text "content from the WordPress editor" just above the latests posts.

    Could you check on your side and see if you can find a solution or tell me what I could test ?