WordPress.org

Make WordPress Core

Opened 12 days ago

Last modified 11 days ago

#49162 new enhancement

Twenty Twenty: Add excerpts text to pages

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

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 (3)

#1 @joyously
12 days 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
11 days ago

  • Component changed from Themes to Bundled Theme
  • Severity changed from major to normal

#3 @axsu
11 days 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 11 days ago by axsu (previous) (diff)
Note: See TracTickets for help on using tickets.