Created
June 29, 2011 21:18
-
-
Save epicdaze/1055013 to your computer and use it in GitHub Desktop.
#wordpress - add excerpts to pages #function #excerpts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- /* 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