Viewing 2 replies - 1 through 2 (of 2 total)
  • i think you want to say see more on click,that is excerpt,,
    go on function.php of your theme and paste the below code

    function custom_excerpt_length( $length ) {
    return 20;
    }
    add_filter( ‘excerpt_length’, ‘custom_excerpt_length’, 999 );

    function new_excerpt_more( $more ) {
    return ‘ <p>Read more</p>’;
    }
    add_filter( ‘excerpt_more’, ‘new_excerpt_more’ );

    then go to your template page and paste the below code where your post originally lies

    <?php the_excerpt();?>
    you can change the above code as required
    i think it will help you

    Thread Starter someone28

    (@someone28)

    Ok I add <?php the_excerpt();?> in content.php and works now. I can use “Read more” but be enough for now. First time I read somewhere need to add in home.php this code.

    Thank you

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How display summary of posts not full text?’ is closed to new replies.