Add Page Excerpt Option in WordPress Admin Panel
WordPress is not a blogging platform now, has many other features, options, resources, plugins to fulfill your requirements.
In some wp version(like 3.1), for ‘pages’, no ‘excerpt’ option, even not option in ‘Screen Options’ to display it . So an easy way to add this to your wp admin panel, follow below steps:
add the following code to your functions.php file.
//Add Excerpts to Pages function themeprefix_add_page_excerpt_support() { add_post_type_support( 'page', 'excerpt' ); } add_action('init', 'themeprefix_add_page_excerpt_support');
We have done this excerpt option by a wordpress hook. At first we used add_post_type_support function to use a specific post type option then we packed within a function. And this function called by a worpress hook/filter to make it available for admin panel.
Functions.php is found in “wp-content\themes\[your-currently-active-theme]\”.
Cheers 🙂