• Resolved bcastillo

    (@bcastillo)


    Hi,

    I want to remove this block of text in the posts page (image link). Apparently the “read more” in editor is not working.

    I just want to put “Read More” or the 1st sentence of the post.
    Is there any other way around this?

    Thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • what theme are youy using?

    your theme might be using ‘the_excerpt()’ instead of ‘the_content()’ in the index page template….

    Thread Starter bcastillo

    (@bcastillo)

    It’s tech gostore. It’s not listed in themes.

    I understand that I need to use ‘the_excerpt()’ and include it in the template but how do I use it?

    Thread Starter bcastillo

    (@bcastillo)

    I solved it:

    I went to content.php
    I looked for the “the_content();
    and replaced it with:

    <?php /*the_content();*/the_excerpt_max_words(30,$post); ?>

    30 is the number of words to be displayed.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Improve Post Preview’ is closed to new replies.