Hi,
I'am using 2 custom post types on WP 3.0.1
The 2 are coded the same way. The first one is detected by the template_redirect loop. The second is not.
Looking the 404 page, I can see the the post_type is not specified in the query_vars
[query_vars] => Array
(
[pagename] => actus-br-test
)
register_post_type('candidats', array(
'label' => 'Candidats',
'singular_label' => 'Candidat',
'public' => true,
'show_ui' => true,
'capability_type' => 'page',
'hierarchical' => false ,
'rewrite' => array("slug" => "candidats"),
'query_var' => true,
'supports' => array('title', 'editor', 'custom-fields', 'thumbnail'),
'can_export' => true,
'menu_position' => 5,
));
Thank for your help