WordPress.org

Make WordPress Core

Opened 3 months ago

Closed 2 months ago

#49162 closed enhancement (wontfix)

Twenty Twenty: Add excerpts text to pages

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

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
3 months 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
3 months ago

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

#3 @axsu
3 months 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 3 months ago by axsu (previous) (diff)

#4 @ianbelanger
2 months ago

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

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.