Wordpress: Enable excerpt field for pages

/ Published in: PHP
Save to your folder(s)

Wordpress by default doesn't allow excerpts for pages - this simple function enable them.

Copy this code and paste it in your HTML
  1. //Add to your 'functions.php' file
  2. add_post_type_support( 'page', 'excerpt' );

URL: http://wpti.ps/functions/enable-page-excerpts/

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.