Creating an Automatic Post Excerpt Display For Front Page
-
I would like to set up my Loop to display in full the first three posts, and then for the remainder of the posts (i.e. posts 4, 5, 6, …) only display the title and a 75 word excerpt from each.
That way I can just hide the excerpt/more option from the user’s add new post functionality and get a consistent front page display.
Can someone shed some light on how to pull this off.
I’m guessing I’ll need a global count variable to keep track of the number of posts being displayed, but what function would I use? Some variation of content()?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Creating an Automatic Post Excerpt Display For Front Page’ is closed to new replies.