Make WordPress Core

Opened 15 years ago

Closed 13 years ago

Last modified 13 years ago

#9260 closed feature request (wontfix)

Article Leads/Post teasers

Reported by: janeforshort's profile janeforshort Owned by:
Milestone: Priority: normal
Severity: normal Version: 2.8
Component: Template Keywords: needs-patch
Focuses: Cc:


Create hooks to make it easier for themes to give users a quick way to make an article lead on their home page (headline, optional byline/date, thumbnail image, first few sentences). Would be ideal it was set up so that themes/users could create multiple lead types, like one with a larger image and excerpt for a main promo, and smaller images/excerpts for the longer lists of content below. Common to magazine-type sites, news sites, and useful for many other types of blog that want to tease content on the home page rather than using the default post stream.

User creation of lead/teaser would happen on the New Post screen.

Change History (7)

#1 @ionfish
15 years ago

  • Keywords needs-patch added
  • Milestone changed from 2.8 to 2.9

Why do you think themes need additional hooks in order to implement this functionality, and what form would they take?

#2 @technosailor
15 years ago

Maybe a better idea is fleshing out the_excerpt() to format excerpts in a variety of ways. Hooks don't see appropriate in this sense, but enhanced a beefed up template tag does.

#3 @Denis-de-Bernardy
15 years ago

seems to me that the_excerpt and the more... tag manage this well enough already. you can always create a plugin that replaces wp_trim_excerpt() if you're unhappy with its result.

invalid imo.

#4 @Denis-de-Bernardy
15 years ago

  • Component changed from General to Template

#5 @Denis-de-Bernardy
15 years ago

  • Milestone changed from 2.9 to Future Release

#6 @jane
13 years ago

  • Resolution set to wontfix
  • Status changed from new to closed

Closing this. The featured image function was the only real thing missing, and we have that now. We should really do a better job of clearing out tickets after each release! :)

#7 @nacin
13 years ago

  • Milestone Future Release deleted
Note: See TracTickets for help on using tickets.