title: Wordpress Custom Post Type Default page?
body: <p>Ok I have made my custom post type and they work fine(code shown below). But I cant seem to make a default page for it for example example.com/php &lt; how do I get that page. I can make pages like example.com/php/some page/ and they work fine.</p>
  
  <pre><code>$labels = array(
  'name' =&gt; _x('PHP', 'post type general name'),
  'singular_name' =&gt; _x('PHP', 'post type singular name'),
  'add_new' =&gt; _x('Add New', 'PHP Page'),
  );
  $args = array(
  'labels' =&gt; $labels,
  'taxonomies' =&gt; array('post_tag'),
  'public' =&gt; true,
  'publicly_queryable' =&gt; true,
  'show_ui' =&gt; true, 
  'show_in_menu' =&gt; true, 
  'query_var' =&gt; true,
  'rewrite' =&gt; true,
  'capability_type' =&gt; 'post',
  'has_archive' =&gt; true, 
  'hierarchical' =&gt; true,
  'menu_position' =&gt; null,
  'supports' =&gt; array( 'title', 'editor', 'page-attributes')
   ); 
  register_post_type('php',$args);
  </code></pre>
  
  <p>Thanks!</p>