Custom Post Type has wrong label and is not found when called by a loop
The issue with the labels in problem 1 is that you haven’t passed the labels to register_post_type(). You’ve defined the labels in the $labels variable, but this is what you passed to register_post_type(): $args = array( ‘labels’ => ‘Bateau’, // … ); register_post_type( ‘bateau’, $args ); You need to pass the $labels array: $args = … Read more