Opened 4 months ago
Closed 3 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)
Note: See
TracTickets for help on using
tickets.
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.