title: Wordpress Custom Post Types doesn't show in admin left sidebar menu
body: <p>I have a weird problem with one of my custom post type that doesn't show in left sidebar admin menu.</p>
  
  <p>I declared 5 custom post types but the fifth doesn't show in left menu. Here it's the Clients post type that doesn't show. I made a lot of search about this, without success.</p>
  
  <p>Thanks a lot for your help !</p>
  
  <pre><code>    /**
   * Custom Posts Types
   */
  
  add_action('init', 'create_team_post_type');
  function create_team_post_type() {
      register_post_type( 'phil_team',
          array(
              'labels' =&gt; array(
                  'name' =&gt; __('Équipe'),
                  'singular_name' =&gt; __('Individu'),
                  'add_new' =&gt; __('Ajouter'),
                  'add_new_item' =&gt; __('Ajouter un individu'),
                  'view_item' =&gt; __('Voir individu'),
                  'edit_item' =&gt; __('Modifier individu'),
                  'search_items' =&gt; __('Rechercher un individu'),
                  'not_found' =&gt; __('Individu non trouvé'),
                  'not_found_in_trash' =&gt; __('Individu non trouvé dans la corbeille')
              ),
              'public' =&gt; true,
              'hierarchical' =&gt; false,
              'menu_position' =&gt; 21,
              'rewrite' =&gt; array('slug' =&gt; 'team'),
              'supports' =&gt; array('title', 'editor', 'thumbnail'),
              'show_ui' =&gt; true
          )
      );
  }
  
  add_action('init', 'create_projects_post_type');
  function create_projects_post_type() {
      register_post_type( 'phil_projects',
          array(
              'labels' =&gt; array(
                  'name' =&gt; __('Projets'),
                  'singular_name' =&gt; __('Projet'),
                  'add_new' =&gt; __('Ajouter'),
                  'add_new_item' =&gt; __('Ajouter un projet'),
                  'view_item' =&gt; __('Voir projet'),
                  'edit_item' =&gt; __('Modifier projet'),
                  'search_items' =&gt; __('Rechercher un projet'),
                  'not_found' =&gt; __('Projet non trouvé'),
                  'not_found_in_trash' =&gt; __('Projet non trouvé dans la corbeille')
              ),
              'public' =&gt; true,
              'menu_position' =&gt; 21,
              'query_var' =&gt; 'project',
              'rewrite' =&gt; array('slug' =&gt; 'who-we-help/our-work'),
              'supports' =&gt; array('title', 'editor', 'thumbnail'),
              'show_ui' =&gt; true
          )
      );
  
      $set = get_option('post_type_rules_flased_POST-TYPE-NAME-HERE');
      if ($set !== true){
         flush_rewrite_rules(false);
         update_option('post_type_rules_flased_POST-TYPE-NAME-HERE',true);
  }
  }
  
  add_action('init', 'create_slideshow_post_type');
  function create_slideshow_post_type() {
      register_post_type( 'phil_home_slideshow',
          array(
              'labels' =&gt; array(
                  'name' =&gt; __('Slideshow'),
                  'singular_name' =&gt; __('Image'),
                  'add_new' =&gt; __('Ajouter'),
                  'add_new_item' =&gt; __('Ajouter une image'),
                  'view_item' =&gt; __('Voir image'),
                  'edit_item' =&gt; __('Modifier image'),
                  'search_items' =&gt; __('Rechercher une image'),
                  'not_found' =&gt; __('Image non trouvé'),
                  'not_found_in_trash' =&gt; __('Image non trouvé dans la corbeille')
              ),
              'public' =&gt; true,
              'hierarchical' =&gt; false,
              'menu_position' =&gt; 21,
              'rewrite' =&gt; array('slug' =&gt; 'slideshow'),
              'supports' =&gt; array('title', 'editor', 'thumbnail'),
              'show_ui' =&gt; true
          )
      );
  }
  
  add_action('init', 'create_home_boxes_post_type');
  function create_home_boxes_post_type() {
      register_post_type( 'phil_home_boxes',
          array(
              'labels' =&gt; array(
                  'name' =&gt; __('Boîtes page d\'accueil'),
                  'singular_name' =&gt; __('Boîte'),
                  'add_new' =&gt; __('Ajouter'),
                  'add_new_item' =&gt; __('Ajouter une boîte'),
                  'view_item' =&gt; __('Voir boîte'),
                  'edit_item' =&gt; __('Modifier boîte'),
                  'search_items' =&gt; __('Rechercher une boîte'),
                  'not_found' =&gt; __('Boîte non trouvé'),
                  'not_found_in_trash' =&gt; __('Boîte non trouvé dans la corbeille')
              ),
              'public' =&gt; true,
              'hierarchical' =&gt; false,
              'menu_position' =&gt; 21,
              'supports' =&gt; array('title', 'editor', 'thumbnail'),
              'show_ui' =&gt; true
          )
      );
  }
  
  add_action('init', 'create_clients_post_type');
  function create_clients_post_type() {
      register_post_type( 'phil_clients',
          array(
              'labels' =&gt; array(
                  'name' =&gt; __('Clients'),
                  'singular_name' =&gt; __('Client'),
                  'add_new' =&gt; __('Ajouter'),
                  'add_new_item' =&gt; __('Ajouter un client'),
                  'view_item' =&gt; __('Voir client'),
                  'edit_item' =&gt; __('Modifier client'),
                  'search_items' =&gt; __('Rechercher une client'),
                  'not_found' =&gt; __('Client non trouvé'),
                  'not_found_in_trash' =&gt; __('Client non trouvé dans la corbeille')
              ),
              'public' =&gt; true,
              'show_ui' =&gt; true,
              'hierarchical' =&gt; false,
              'menu_position' =&gt; 21,
              'supports' =&gt; array('title', 'editor', 'thumbnail')
          )
      );
  }
  </code></pre>