{"id":18554,"date":"2012-05-22T09:46:26","date_gmt":"2012-05-22T13:46:26","guid":{"rendered":"http:\/\/www.templatemonster.com\/help\/?p=18554"},"modified":"2016-02-24T05:26:16","modified_gmt":"2016-02-24T10:26:16","slug":"wordpress-custom-posts-are-not-editable","status":"publish","type":"post","link":"https:\/\/www.templatemonster.com\/help\/wordpress-custom-posts-are-not-editable.html","title":{"rendered":"WordPress. Custom posts are not editable"},"content":{"rendered":"<p>\r\n<\/p>\r\n<p>This tutorial is going to show you how to fix uneditable custom posts after the dump import on your WordPress template.<\/p>\r\n<p>If you have imported the <a href=\"\/help\/how-install-wordpress-template-using-dump-file.html\">dumpfile<\/a> and have such a problem:<\/p>\r\n<p><a href=\"\/help\/wp-content\/uploads\/2012\/05\/wordpress_custom_posts_issue_1.jpg\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2012\/05\/wordpress_custom_posts_issue_1-300x143.jpg\" alt=\"\" title=\"wordpress_custom_posts_issue_1\" width=\"300\" height=\"143\" class=\"alignnone size-medium wp-image-18555\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2012\/05\/wordpress_custom_posts_issue_1-300x143.jpg 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2012\/05\/wordpress_custom_posts_issue_1.jpg 894w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\r\n<p>Please do the following:<\/p>\r\n<ol>\r\n<li>Copy the name of  your custom post menu. The name depends on\u00a0  your template number. For instance, it&rsquo;s called Works. <\/li>\r\n<li>Open your  database with all tables and click on the &ldquo;<strong>Search<\/strong>&rdquo; tab.\r\n<p><a href=\"\/help\/wp-content\/uploads\/2012\/05\/wordpress_custom_posts_issue_2.jpg\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2012\/05\/wordpress_custom_posts_issue_2-300x25.jpg\" alt=\"\" title=\"wordpress_custom_posts_issue_2\" width=\"300\" height=\"25\" class=\"alignnone size-medium wp-image-18556\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2012\/05\/wordpress_custom_posts_issue_2-300x25.jpg 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2012\/05\/wordpress_custom_posts_issue_2.jpg 720w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>\r\n<\/li>\r\n<li>Paste the name  of your custom post menu into the search field, select all tables and click on  <strong>Go<\/strong>.\r\n<p><a href=\"\/help\/wp-content\/uploads\/2012\/05\/wordpress_custom_posts_issue_3.jpg\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2012\/05\/wordpress_custom_posts_issue_3-300x134.jpg\" alt=\"\" title=\"wordpress_custom_posts_issue_3\" width=\"300\" height=\"134\" class=\"alignnone size-medium wp-image-18557\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2012\/05\/wordpress_custom_posts_issue_3-300x134.jpg 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2012\/05\/wordpress_custom_posts_issue_3.jpg 781w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/li>\r\n<li>From the list of  the tables that is going to appear, the <strong>wp_post<\/strong> is the one you need to work on.  It should have a <strong>Browse<\/strong> button next to it, click that button.\r\n<p><a href=\"\/help\/wp-content\/uploads\/2012\/05\/wordpress_custom_posts_issue_4.jpg\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2012\/05\/wordpress_custom_posts_issue_4-300x150.jpg\" alt=\"\" title=\"wordpress_custom_posts_issue_4\" width=\"300\" height=\"150\" class=\"alignnone size-medium wp-image-18558\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2012\/05\/wordpress_custom_posts_issue_4-300x150.jpg 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2012\/05\/wordpress_custom_posts_issue_4.jpg 745w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/li>\r\n<li>On the next page, take a look at the <strong>post_type<\/strong> column results. You will notice that some names begin with lowercase and some with uppercase:\r\n<p><a href=\"\/help\/wp-content\/uploads\/2012\/05\/wordpress_custom_posts_issue_5.jpg\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2012\/05\/wordpress_custom_posts_issue_5-300x145.jpg\" alt=\"\" title=\"wordpress_custom_posts_issue_5\" width=\"300\" height=\"145\" class=\"alignnone size-medium wp-image-18559\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2012\/05\/wordpress_custom_posts_issue_5-300x145.jpg 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2012\/05\/wordpress_custom_posts_issue_5.jpg 982w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/li>\r\n<li> All of them <strong>should be lowecases, <\/strong>so all you need to do to change  them. You can do this manually or click on the <strong>SQL<\/strong> tab in your database menu\r\n<p><a href=\"\/help\/wp-content\/uploads\/2012\/05\/wordpress_custom_posts_issue_6.jpg\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2012\/05\/wordpress_custom_posts_issue_6-300x123.jpg\" alt=\"\" title=\"wordpress_custom_posts_issue_6\" width=\"300\" height=\"123\" class=\"alignnone size-medium wp-image-18560\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2012\/05\/wordpress_custom_posts_issue_6-300x123.jpg 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2012\/05\/wordpress_custom_posts_issue_6.jpg 772w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\r\n<p>and insert<strong>&nbsp;<\/strong><\/li>\r\n<pre class=\"brush:sql\">UPDATE wp_posts SET post_type='lowecase post type name'  WHERE post_type='uppercase post type name';<\/pre>\r\n<p>e.g, if your custom post type name in the <strong>post_type column is called our_works<\/strong><\/p>\r\n<p>it should look like this <a href=\"\/help\/wp-content\/uploads\/2012\/05\/wordpress_custom_posts_issue_7.jpg\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2012\/05\/wordpress_custom_posts_issue_7-300x122.jpg\" alt=\"\" title=\"wordpress_custom_posts_issue_7\" width=\"300\" height=\"122\" class=\"alignnone size-medium wp-image-18561\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2012\/05\/wordpress_custom_posts_issue_7-300x122.jpg 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2012\/05\/wordpress_custom_posts_issue_7.jpg 787w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\r\n<p>and click on &ldquo;<strong>Go<\/strong>&rdquo;<\/p>\r\n<li>Go back to your  custom posts in the WordPress admin. You should see the &ldquo;<strong>Edit<\/strong>&rdquo; button now:\r\n<p><a href=\"\/help\/wp-content\/uploads\/2012\/05\/wordpress_custom_posts_issue_8.jpg\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2012\/05\/wordpress_custom_posts_issue_8-300x172.jpg\" alt=\"\" title=\"wordpress_custom_posts_issue_8\" width=\"300\" height=\"172\" class=\"alignnone size-medium wp-image-18562\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2012\/05\/wordpress_custom_posts_issue_8-300x172.jpg 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2012\/05\/wordpress_custom_posts_issue_8.jpg 876w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>\r\n<\/li>\r\n<\/ol>\r\n<p>Feel free to check the detailed video tutorial below:<\/p>\r\n<p><a href=\"\/help\/files\/wordpress\/wordpress_custom_posts_issue.htm\" target=\"blank\">WordPress. Custom posts are not editable<\/a><\/p>\r\n<\/p>\r\n<p>\r\n<\/p>\r\n<p><\/p>","protected":false},"excerpt":{"rendered":"<p>This tutorial is going to show you how to solve the problem with uneditable custom posts after the dump import on your Wordpress template.<\/p>\n","protected":false},"author":30,"featured_media":18568,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[728],"tags":[1255,1254,2405],"_links":{"self":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/18554"}],"collection":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/users\/30"}],"replies":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/comments?post=18554"}],"version-history":[{"count":0,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/18554\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/media\/18568"}],"wp:attachment":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/media?parent=18554"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/categories?post=18554"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/tags?post=18554"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}