Forums
(@manni123)
10 years, 6 months ago
I solve the issue .I use wp-query in theme file. global $wpdb; $sql = “UPDATE {$wpdb->posts} SET post_status = ‘publish’ WHERE post_type = ‘$post_type’ and post_status = ‘draft'”; $wpdb->query($sql);
post_status
post_type
i don’t know what happen.please you can see it.i have share team viewer with you john .?
thanks for reply john .but i can not understand what do want to you say.