Make WordPress Core

Opened 7 years ago

Closed 7 years ago

#49162 closed enhancement (wontfix)

Twenty Twenty: Add excerpts text to pages

Reported by: axsu Owned by:
Priority: normal Milestone:
Component: Bundled Theme Version:
Severity: normal Keywords:
Cc: Focuses: template

Description

Please add extract text to pages.

I opened a ticket in Twenty Twenty Support forum but they said that it needs some code in Functions:
https://wordpress.org/support/topic/cant-edit-extract-text/

<?php
add_action( 'init', function() {
    add_post_type_support( 'page', 'excerpt' );
} );

Change History (4)

#1 @joyously
7 years ago

This is not a theme responsibility and should be in a plugin or a child theme (if the user really wants it).
The only thing that function call does is change how the editor responds to Pages, providing a place to enter a manual excerpt. That has nothing to do with the theme.

#2 @SergeyBiryukov
7 years ago

  • Component ThemesBundled Theme
  • Severity majornormal

#3 @axsu
7 years ago

Ok, it's not a theme responsibility, but it could be a simple feature for users.
If we have to use a plugin for this...

Last edited 7 years ago by axsu (previous) (diff)

#4 @ianbelanger
7 years ago

  • Milestone Awaiting Review
  • Resolutionwontfix
  • Status newclosed

Thanks for your ticket @axsu but I have to agree with @joyously that this is something that can easily be added using/creating a simple plugin. I am closing this as a wontfix

Note: See TracTickets for help on using tickets.