Tag Archive for front

WordPress question; how do you show only a few lines of a post on the front page?

Question by WhiteIrishReadHead: WordPress question; how do you show only a few lines of a post on the front page?
I have a wordpress blog, and when I post an article, the entire article shows up on the front page, no matter how long it is. I want only 3-4 lines to show, so that the reader has to click on it to see the whole article. I have tried to fill in the “excerpt” box, but I didn’t see any changes.

So please, anyone with WordPress experience, 10 points will be given to the right answer!

Thanks!

Best answer:

Answer by Windowphobe
(The following assumes you’re on a self-hosted WP blog; you can’t generally make template changes like this on wordpress.com.)

In your Main Index Template (index.php), somewhere within The Loop, you’ll find

Change this to read:

The default excerpt is 55 words. If you want to change this length, you have to add a filter to functions.php.

Know better? Leave your own answer in the comments!

Powered by Yahoo! Answers