{"id":7929,"date":"2013-04-22T16:45:24","date_gmt":"2013-04-22T21:45:24","guid":{"rendered":"http:\/\/www.jbaker.info\/?p=7929"},"modified":"2013-04-22T16:45:24","modified_gmt":"2013-04-22T21:45:24","slug":"how-to-change-the-status-of-all-your-wordpress-posts-to-draft","status":"publish","type":"post","link":"https:\/\/www.jbaker.info\/demo05\/how-to-change-the-status-of-all-your-wordpress-posts-to-draft\/","title":{"rendered":"How to Change the Status of all Your WordPress Posts to Draft"},"content":{"rendered":"<img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/www.jbaker.info\/wp-content\/uploads\/2013\/04\/draft.jpg\"  style=\"border: 1px solid black;\" alt=\"Change all Posts to Draft using SQL statement\" width=\"288\" height=\"290\" class=\"alignright size-full wp-image-8130\" srcset=\"https:\/\/www.jbaker.info\/demo05\/wp-content\/uploads\/draft.jpg 288w, https:\/\/www.jbaker.info\/demo05\/wp-content\/uploads\/draft-150x150.jpg 150w\" sizes=\"auto, (max-width: 288px) 100vw, 288px\" \/>\n<p>Redoing a blog? Need to check all existing posts before re-publishing them?<\/p>\n<p>Sometimes it is just easier to change all your posts to draft. Then you can go through them one by one, check them and then re-publish.<\/p>\n<p>Here is an easy way to change all the WordPress posts on your blog to draft using mySql.<\/p>\n<h2>Using phpMyAdmin to Change All Posts to Draft<\/h2>\n<p>Go to phpMyAdmin on your web host and access your WordPress database. Execute the following query:<\/p>\n<p>[snippet id=&#8221;71&#8243;]<\/p>\n<div style=\"margin-bottom: 28px\">\n<\/div>\n<h3>How to Access phpMyAdmin on Your Web Host<\/h3>\n<p>If you need help accessing phpMyAdmin on your host here is how you can find help:\n<a href=\"http:\/\/www.jbaker.info\/help-with-using-phpmyadmin\/\">Help With Using phpMyAdmin<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Redoing a blog? Need to check all existing posts before re-publishing them? Sometimes it is just easier to change all your posts to draft. Then you can go through them one by one, check them and then re-publish. Here is an easy way to change all the WordPress posts on your blog to draft using&#8230;  <a href=\"https:\/\/www.jbaker.info\/demo05\/how-to-change-the-status-of-all-your-wordpress-posts-to-draft\/\" class=\"more-link\" title=\"Read How to Change the Status of all Your WordPress Posts to Draft\">Read more &raquo;<\/a><\/p>\n","protected":false},"author":1,"featured_media":8130,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[],"class_list":["post-7929","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-programming-tips-and-tricks"],"_links":{"self":[{"href":"https:\/\/www.jbaker.info\/demo05\/wp-json\/wp\/v2\/posts\/7929","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.jbaker.info\/demo05\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.jbaker.info\/demo05\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.jbaker.info\/demo05\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.jbaker.info\/demo05\/wp-json\/wp\/v2\/comments?post=7929"}],"version-history":[{"count":0,"href":"https:\/\/www.jbaker.info\/demo05\/wp-json\/wp\/v2\/posts\/7929\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.jbaker.info\/demo05\/wp-json\/wp\/v2\/media\/8130"}],"wp:attachment":[{"href":"https:\/\/www.jbaker.info\/demo05\/wp-json\/wp\/v2\/media?parent=7929"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.jbaker.info\/demo05\/wp-json\/wp\/v2\/categories?post=7929"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.jbaker.info\/demo05\/wp-json\/wp\/v2\/tags?post=7929"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}