diff --git a/views/post_type.php b/views/post_type.php index 47577ff..2bf3c34 100644 --- a/views/post_type.php +++ b/views/post_type.php @@ -429,8 +429,8 @@ class="cctm_checkbox" // checkbox_id, css_id, checked_value /* Handle custom hierarchical stuff */ $i = 0; - $args = array('public' => true ); - $post_types = get_post_types($args); + $args = array( 'public' => true, 'publicly_queryable' => true ); + $post_types = get_post_types( $args, '', 'or' ); //print_r($data['post_type']s); exit; foreach ( $post_types as $pt => $v ) { $is_checked = '';