Builder Church Block
(Difference between revisions)
m |
m (→How to add manual excerpt support for Staff entries) |
||
Line 16: | Line 16: | ||
[[Image:2011-12-08 19-58-07.png|754px|thumb|none]] | [[Image:2011-12-08 19-58-07.png|754px|thumb|none]] | ||
+ | |||
+ | Source: http://codex.wordpress.org/Function_Reference/add_post_type_support | ||
= Entry 2 = | = Entry 2 = |
Revision as of 09:38, December 8, 2011
Contents |
How to add manual excerpt support for Staff entries
If you would like to have Excerpt metabox in Staff entry edit screen, add the following in City Church child theme's functions.php:
add_action('init', 'add_excerpt_support_to_staff'); function add_excerpt_support_to_staff() { add_post_type_support( 'staff', 'excerpt' ); }
Source: http://codex.wordpress.org/Function_Reference/add_post_type_support