Make WordPress Core

Opened 6 years ago

Closed 6 years ago

#45979 closed enhancement (wontfix)

Customize the excerpt size

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

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 6 years ago.

Download all attachments as: .zip

Change History (6)

@sebastienserre
6 years ago

#1 @swissspidy
6 years 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
6 years 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
6 years 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
6 years ago

  • Version trunk deleted

#5 @johnbillion
6 years 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.