Skip to content

Instantly share code, notes, and snippets.

@epicdaze
Created June 29, 2011 21:18
Show Gist options
  • Save epicdaze/1055013 to your computer and use it in GitHub Desktop.
Save epicdaze/1055013 to your computer and use it in GitHub Desktop.
#wordpress - add excerpts to pages #function #excerpts
<!-- /* Add excerpt functionality to pages. From: http://wordpress.mfields.org/2010/excerpts-for-pages-in-wordpress-3-0/ */ -->
<?php add_post_type_support( 'page', 'excerpt' ); ?>
<!-- /* To activate, click on the ‘screen options’ tab near the top right when editing a page. There is a checkbox for Excerpts. */ -->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment