Opened 4 years ago

Closed 3 years ago

Last modified 3 years ago

#9260 closed feature request (wontfix)

Article Leads/Post teasers

Reported by: janeforshort Owned by: anonymous
Priority: normal Milestone:
Component: Template Version: 2.8
Severity: normal Keywords: needs-patch
Cc:

Description

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)

  • 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?

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.

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.

  • Component changed from General to Template
  • Milestone changed from 2.9 to Future Release

comment:6   jane3 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! :)

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