WordPress.org

Make WordPress Core

Opened 11 months ago

Closed 7 months ago

#45979 closed enhancement (wontfix)

Customize the excerpt size

Reported by: sebastienserre Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: Options, Meta APIs Keywords: 2nd-opinion
Focuses: Cc:
PR Number:

Description

Hello all,

At this moment, there's no way without code to customize the excerpt size which is programatically 55 words.

I Propose to add a settings in "readings options" to let the admin customize it.

I started to create a patch but wonder where should be (in which file) should be better to add the filter function?

Attachments (1)

45979.diff (953 bytes) - added by sebastienserre 11 months ago.

Download all attachments as: .zip

Change History (6)

#1 @swissspidy
11 months ago

I Propose to add a settings in "readings options" to let the admin customize it.

Why?

I don't think that most users will ever need or want to change that. Quite often blogs just show the full length posts without any excerpts. Also, it's something you'd likely never change again after setting it once. For me, that doesn't sound like a great addition to the UI.

Related: https://wordpress.org/about/philosophy/

#2 @subrataemfluence
11 months ago

Settings are usually meant for those items which we keep changing at times, if not frequently.

Also, it's something you'd likely never change again after setting it once.

So I too agree that inclusion of this option is not something heavily looked for.

#3 @sebastienserre
11 months ago

I agree we didn't often change this parameter but... on this way... on setting page, there's nothing we are often changing
https://i.imgur.com/aqyHlpu.png

For example, all settings on this page are setted up on website launch and never after... but options exist... so I don't understand why not the Excerpt lenght...

This is my personnal view and will continue on some websites to filter the lenght

#4 @pento
11 months ago

  • Version trunk deleted

#5 @johnbillion
7 months ago

  • Milestone Awaiting Review deleted
  • Resolution set to wontfix
  • Status changed from new to closed

I don't think this is something that would benefit the majority of WordPress users, to be honest. In addition, many themes override the excerpt length contextually depending on the layout that's in use.

Note: See TracTickets for help on using tickets.