figured it out. sry for the email! AndrewJohnson [email protected] 580.302.0931
Begin forwarded message: > From: Andrew Johnson <[email protected]> > Date: May 20, 2010 2:45:24 PM CDT > To: [email protected] > Subject: custom post title error perhaps > > having trouble getting the "Add New Post" to change. Its not changing to my > Projects everywhere, only the label in the sidebar and the edit screen. Any > ideas my problems or is there a bug here?? > > Here is my code: > > register_post_type('project', array( > 'label' => __( 'Project Files' ), > 'singular_label' => __( 'Project' ), > 'add_new' => __( 'Add Project' ), > 'add_new_item' => __( 'Add New Project' ), > 'edit' => __( 'Edit Project' ), > 'edit_item' => __( 'Edit This Project' ), > 'new_item' => __( 'New Project' ), > 'view' => __( 'View Project' ), > 'view_item' => __( 'View This Project' ), > 'search_items' => __( 'Search Projects' ), > 'not_found' => __( 'No Projects found' ), > 'not_found_in_trash' => __( 'No Projects found in > Trash' ), > 'public' => true, > 'menu_position' => 5, > 'show_ui' => true, // UI in admin panel > '_builtin' => false, // It's a custom post type, not > built in > '_edit_link' => 'post.php?post=%d', > 'capability_type' => 'post', > 'hierarchical' => false, > 'rewrite' => array("slug" => "project"), // Permalinks > 'query_var' => "project", // This goes to the WP_Query > schema > 'supports' => array('title'), > 'show_ui' => true > )); > > Thanks! > > AndrewJohnson > [email protected] > 580.302.0931 > > > > > > _______________________________________________ wp-testers mailing list [email protected] http://lists.automattic.com/mailman/listinfo/wp-testers
