Return to Snippet

Revision: 32468
at September 25, 2010 20:09 by hussong


Initial Code
// add excerpt to pages
add_post_type_support( 'page', 'excerpt' );

Initial URL

                                

Initial Description
Adds support for excerpts in WordPress pages. Great for using WordPress as a CMS. A text field appears in the admin panel and you can pull the excerpt from your template files (for teaser texts etc.)

Initial Title
Add excerpts to pages

Initial Tags
page, wordpress, theme

Initial Language
PHP