Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

wordpress post types supports thumbnail

 <?php 
$args = array(
  /* ... */
  'supports' => array( 'title', 'editor', 'author', 'thumbnail', 'excerpt', 'comments' )
 ); 
  register_post_type('book',$args);
}
add_action( 'init', 'custom_post_init' );
 
PREVIOUS NEXT
Tagged: #wordpress #post #types #supports #thumbnail
ADD COMMENT
Topic
Name
9+4 =