If you use the Genesis theme framework and regularly create sites with Custom Post Types, you may like to know how to enable the Genesis SEO tool box for these post types.
It’s really easy!
You have to add genesis-seo to the list of items that your post types supports.
add_action( 'init', 'register_cpt_case_study' );
function register_cpt_case_study() {
$labels = array(
'name' => _x( 'Case Studies', 'case_study' ),
'singular_name' => _x( 'Case Study', 'case_study' ),
'add_new' => _x( 'Add New', 'case_study' ),
'add_new_item' => _x( 'Add New Case Study', 'case_study' ),
'edit_item' => _x( 'Edit Case Study', 'case_study' ),
'new_item' => _x( 'New Case Study', 'case_study' ),
'view_item' => _x( 'View Case Study', 'case_study' ),
'search_items' => _x( 'Search Case Studies', 'case_study' ),
'not_found' => _x( 'No case studies found', 'case_study' ),
'not_found_in_trash' => _x( 'No case studies found in Trash', 'case_study' ),
'parent_item_colon' => _x( 'Parent Case Study:', 'case_study' ),
'menu_name' => _x( 'Case Studies', 'case_study' ),
);
$args = array(
'labels' => $labels,
'hierarchical' => false,
'description' => 'Case studies',
'supports' => array( 'title', 'editor', 'excerpt', 'thumbnail','genesis-seo' ),
'taxonomies' => array( 'industries' ),
'public' => true,
'show_ui' => true,
'show_in_menu' => true,
'show_in_nav_menus' => true,
'publicly_queryable' => true,
'exclude_from_search' => false,
'has_archive' => true,
'query_var' => true,
'can_export' => true,
'rewrite' => true,
'capability_type' => 'post'
);
register_post_type( 'case_study', $args );
}
Here is a full example of creating a custom post type for Case Studies, the supports line is the one that you need to look at.



This rocks dude. Thanks for the tip!
Glad it helped!
I’d like to thank you for the efforts you’ve put in
penning this site. I’m hoping to view the same high-grade content by you later on as well. In truth, your creative writing abilities has motivated me to get my very own site now
What a material of un-ambiguity and preserveness of valuable know-how about unexpected feelings.
Outstanding post however I was wanting to know if you could write a litte
more on this subject? I’d be very thankful if you could elaborate a little bit further. Many thanks!