WordPress.org

Support

Support » How-To and Troubleshooting » How can the index.php page show a excerpt of articles

How can the index.php page show a excerpt of articles

  • I’ve set my wordpress to show a summary of each article (in the “options” / “reading” tab), but in the index page, it still show the full article!
    Actually, each article has EXCERPT fields.

    How can I set? to show a excerpt of each article?

Viewing 2 replies - 1 through 2 (of 2 total)
  • When you selected summary, you selected it for the RSS feed. If you want an excerpt to show up, you can always click the ‘more’ quicktag while creating a post.

    You need to go and edit your index.php file and change <?php the_content() ?> to <?php the_excerpt() ?> and you’ll get excerpts. make sure you have a single.php file set with <?php the_content(); ?> otherwise your single views will still be excerpts.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How can the index.php page show a excerpt of articles’ is closed to new replies.
Skip to toolbar