[wp-trac] [WordPress Trac] #33401: Add excerpt option to a page
WordPress Trac
noreply at wordpress.org
Sat Aug 22 03:34:58 UTC 2015
#33401: Add excerpt option to a page
-------------------------------+------------------------------
Reporter: paaljoachim | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Posts, Post Types | Version:
Severity: normal | Resolution:
Keywords: reporter-feedback | Focuses: administration
-------------------------------+------------------------------
Comment (by eliorivero):
Personally, I don't think this is needed in core. Pages and posts serve
different purposes, they shouldn't become more similar (and actually in WP
4.3 with comments disabled for new pages they became a little bit more
different).
In cases where a plugin uses the excerpt for social media description, the
plugin itself can provide the necessary support for this. Same applies for
page indexes and conditional page display: it's a presentational issue so
it's the theme the one that should provide the proper support for this.
Excerpt for pages can be easily added with this snippet from a plugin or a
theme
http://codex.wordpress.org/Function_Reference/add_post_type_support#Example
--
Ticket URL: <https://core.trac.wordpress.org/ticket/33401#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list