title: wp-admin list only parent posts
body: <p>When admin creates a post with five custom fields I creates 5 posts with post_parent id to main post. But these 5 posts are also showing in posts listing table which I want to hide.</p>
  
  <p>In /wp-admin/edit.php where wordpress shows all posts (parent &amp; child) under All/Publish I want to show only <strong>Parent posts</strong> having <strong>post_type = post</strong> because I am using other post types as well but only want to change view where <strong>post_type = post</strong>.</p>
  
  <p>I knows for this I must need to edit core file, no matter I can. After searching in <code>wp-admin/includes/class-wp-list-table.php</code> I found </p>
  
  <pre><code>    /**
       * Generate the &lt;tbody&gt; part of the table
       *
       * @since 3.1.0
       * @access protected
       */
      function display_rows_or_placeholder() {
          if ( $this-&gt;has_items() ) {
              $this-&gt;display_rows();
          } else {
              list( $columns, $hidden ) = $this-&gt;get_column_info();
              echo '&lt;tr class="no-items"&gt;&lt;td class="colspanchange" colspan="' . $this-&gt;get_column_count() . '"&gt;';
              $this-&gt;no_items();
              echo '&lt;/td&gt;&lt;/tr&gt;';
          }
      }
  </code></pre>
  
  <p>which creates rows for posts list table but I can not found where to set condition &amp; custom query :</p>
  
  <pre><code>IF (post_type == 'post'){
      // list only parent posts
  }else{
      // do default behavior
  }
  </code></pre>
  
  <p>I searched almost 3hrs but no solution found. Okay if it is not possible then can we show same Hierarchy for posts like for <strong>Pages</strong> parent/child relation.</p>