auto draft is showing on wordpress custom post type
-
In my site I created the wordpress theme as custom post type and for showing post type I used following code.
$paged = (get_query_var('paged')) ? get_query_var('paged') : 1; //echo "paged " . $paged; $loop = new WP_Query(array('post_type' => 'wordpress-themes', 'post_status' => 'published', 'paged' => $paged, 'posts_per_page' => 10, 'orderby' => 'menu_order' ));
In my site when I added to custom post that is showing me auto draft post. How can I remove that.
You can check issue on my site
- The topic ‘auto draft is showing on wordpress custom post type’ is closed to new replies.