Created
August 8, 2013 10:51
-
-
Save theodorocaliari/6183664 to your computer and use it in GitHub Desktop.
Add excerpt in wordpress pages. Adicionar resumo nas paginas do wordpress.
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
<?php | |
add_action('init', 'my_custom_init'); | |
function my_custom_init() { | |
add_post_type_support( 'page', 'excerpt' ); | |
} | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment