Builder Church Block

(Difference between revisions)
Jump to: navigation, search
(Added = How to add manual excerpt support for Staff entries =)
 
m
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]]
 +
 +
= Entry 2 =
 +
 +
= Entry 3 =
 +
 +
= Entry 4 =

Revision as of 09:31, 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' );
}
2011-12-08 19-51-06.png
2011-12-08 19-52-28.png
2011-12-08 19-58-07.png

Entry 2

Entry 3

Entry 4

Personal tools
Namespaces
Variants
Actions
iThemes Codex
Codex Navigation
Toolbox