Skip to content

Instantly share code, notes, and snippets.

@man4toman
Last active October 4, 2018 11:41
Show Gist options
  • Save man4toman/97231639cccafb9309e953cd8c745d5f to your computer and use it in GitHub Desktop.
Save man4toman/97231639cccafb9309e953cd8c745d5f to your computer and use it in GitHub Desktop.
Add excerpts to Pages in WordPress
<?php
/**
* More parameters:
* @link http://codex.wordpress.org/Function_Reference/add_post_type_support
**/
add_post_type_support( 'page', 'excerpt' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment