Skip to content

Commit

Permalink
examples file update
Browse files Browse the repository at this point in the history
remove all support from the test post type except for titles, makes for more thorough testing when looking at special fields like the `link` field type that may not work otherwise in some cases.

ref #44
  • Loading branch information
jkudish committed Mar 18, 2013
1 parent 3868da2 commit b8db9b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_metadata_examples.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ function x_init_custom_post_types() {
'has_archive' => true,
'hierarchical' => false,
'menu_position' => null,
'supports' => array( 'title', 'editor', 'author', 'thumbnail', 'excerpt', 'comments' )
'supports' => array( 'title' )
);
register_post_type( 'x_test', $args );
}
Expand Down

0 comments on commit b8db9b6

Please sign in to comment.