• Dear WordPress

    How to show the summary of my post on the index page?
    Because I want my visitor read the summary at first time visit and they can read the full article by clicking “read more” link.

    Thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • 2 methods to choose from:

    a. Change the code in your main index file in your theme that displays the_content to the the_excerpt

    The only downside with this method is it strips most of your html and limits the length ofthe summary to 120. This can cut off sentences in just the wrong spot at times.

    b. Use the More tag in the quick tag area.

    Just drop it in wherever you want the post to be finished on the front page. It will add a More link and when clicked will take the reader to the full post.

    Thread Starter edyst3

    (@edyst3)

    Hi James

    Thanks for your support.
    But I need to put “Continue Reading this Topic” link after the summary.
    What is the code?

    If you take a look in your index.php file in your theme for the code that says the_content

    It may already have some text between the brackets, but whether it has or not, you can change it to what you prefer, such as –

    <?php the_content('Continue Reading this Topic'); ?>

    Now when you use the more tag, your chosen wording will be displayed.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Put summary post on index page’ is closed to new replies.