[wp-trac] [WordPress Trac] #13675: custom post type showing add new post instead of custom post type label

WordPress Trac wp-trac at lists.automattic.com
Tue Jun 1 12:47:41 UTC 2010


#13675: custom post type showing add new post instead of custom post type label
--------------------------+-------------------------------------------------
 Reporter:  yalamber      |       Owner:                   
     Type:  defect (bug)  |      Status:  new              
 Priority:  normal        |   Milestone:  3.0              
Component:  Post Types    |     Version:  3.0              
 Severity:  normal        |    Keywords:  custom post types
--------------------------+-------------------------------------------------
 [[Image(http://www.wpexpo.com/Custom_post_type.PNG)]]
 I am using wordpress 3.0 and it's multi network system with custom post
 type setting. I have used following code in themes functions.php

 {{{
 function post_type_movies() {
         register_post_type('movies', array(
          'label' => __('Movies'),
          'public' => true,
          'show_ui' => true,
          'rewrite' => array("slug" => "movie"),
          'supports' => array('title', 'editor', 'custom-fields', 'author',
 'thumbnail','comments')
         ));
         register_taxonomy_for_object_type('post_tag', 'movies');
 }
 add_action('init', 'post_type_movies');
 }}}

 I get the custom post type block but when i add new post in custom post
 type I see it says Add new post instead of Add new movies.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/13675>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list