Created
April 28, 2012 04:42
-
-
Save BronsonQuick/2516051 to your computer and use it in GitHub Desktop.
Add Excerpts to Pages in WordPress
This file contains hidden or 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
<?php | |
/* Quite often we create sites that need a blurb on the homepage that needs to be different than the page content. | |
To get around this we like adding excerpts to pages */ | |
add_post_type_support( 'page', 'excerpt' ); | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment