Ive searched the net high and low Wordpress org question

2 replies
I need to get my blog to summarize each post on my main page. Ive got though settings in the WP admin and unable to locate where to do it and searched the web high and low trying to find the answer.

How do I get my posts to summarize on the front page?
#high #low #net #org #question #searched #wordpress
  • Profile picture of the author Istvan Horvath
    You need to edit the template that displays your front/home/main page.
    It should be the home.php or index.php (in this order!) in your theme's folder... unless your theme is coded differently.

    The only thing you need to do:
    replace <?php the_content(); ?> with <?php the_excerpt(); ?>

    EDIT. This change will force your WP to automatically display the first 55 words of your posts, adding [...] to the end - but this is NOT a "read more" link.

    To have a "Read more..." link you need to manually insert/place the "more" tag wherever you want while writing your post.

    If you really want a "summary" when using the_excerpt method (instead of the first 55 words) you need to write it in the Excerpt field in your wp-admin > Write Post subpanel.
    Signature

    {{ DiscussionBoard.errors[3513110].message }}
  • Profile picture of the author Quentin
    You can use the more link or extracts.

    Me I would just add the more tag from the menu as I can place it where I want.

    Of course you would want your front page set up as a blog and not a static page.

    Quentin
    {{ DiscussionBoard.errors[3513130].message }}

Trending Topics