Hi Chris,
I'm having a similar problem with a custom post type overview page loading very slowly. Up to 15 seconds. There are over 4000 posts for that type.
All the other custom post over view pages on this site load quickly.
You mentioned finding the reason and it was something to do with register_post_type(). Could you share with me how you sped up the load time?
My config for this custom post type is:
register_post_type('insightdaily',
array( 'labels' => array(
'name' => _x('Insight Daily', 'post type general name'),
'singular_name' => _x('Insight Daily', 'post type singular name'),
'add_new' => _x('Add Insight Daily', 'insightdaily'),
'add_new_item' => __('Add New Insight Daily'),
'edit_item' => __('Edit Insight Daily'),
'new_item' => __('New Insight Daily'),
'view_item' => __('View Insight Daily'),
'search_items' => __('Search Insight Daily'),
'not_found' => __('No Insight Dailies found'),
'parent_item_colon' => ''
),
'public' => true,
'publicly_queryable' => true,
'register_meta_box_cb' => 'add_insightdaily_custom_fields',
'supports' => array(
'title',
'editor',
'revisions'
),
'rewrite' => array(
'slug' => 'insight-daily',
),
'hierarchical' => true,
#'taxonomies' => array('id_type'),
'menu_position' => 3,
)
);
Thanks,
Ian