Make WordPress Core

Opened 14 years ago

Closed 14 years ago

#13675 closed defect (bug) (duplicate)

custom post type showing add new post instead of custom post type label

Reported by: yalamber's profile yalamber Owned by:
Milestone: Priority: normal
Severity: normal Version: 3.0
Component: Posts, Post Types Keywords: custom post types
Focuses: Cc:

Description

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.

Change History (1)

#1 @michaelh
14 years ago

  • Milestone 3.0 deleted
  • Resolution set to duplicate
  • Status changed from new to closed

Duplicate of ticket:13674

Note: See TracTickets for help on using tickets.