Created
October 21, 2015 05:37
-
-
Save outsmart/04db66d1d565556c09ab to your computer and use it in GitHub Desktop.
Revisions
-
outsmart created this gist
Oct 21, 2015 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,7 @@ <?php //Add excepts to pages add_action( 'init', __NAMESPACE__ . '\\my_add_excerpts_to_pages' ); function my_add_excerpts_to_pages() { add_post_type_support( 'page', 'excerpt' ); } ?>