Thanks AZHAR, But my posts are not in my computer as a file. they are on my drafts post. So I think your offer is not suitable for draft posts but any way thanks.
Run this SQL command via your phpMyAdmin (backup your DB first!): UPDATE wp_posts SET post_status="publish" WHERE post_status="draft"; Code (markup):
I think you can try it by selecting all posts and then click edit, then change the status to Published. Be sure that categories and tags are correct as they can not be changed collectively by this method