{"id":57654,"date":"2015-11-19T03:25:40","date_gmt":"2015-11-19T08:25:40","guid":{"rendered":"http:\/\/www.templatemonster.com\/help\/?p=57654"},"modified":"2017-07-13T06:58:41","modified_gmt":"2017-07-13T10:58:41","slug":"cherryframework-3-how-to-remove-the-theme-editor-menu-from-the-dashboard","status":"publish","type":"post","link":"https:\/\/www.templatemonster.com\/help\/cherryframework-3-how-to-remove-the-theme-editor-menu-from-the-dashboard.html","title":{"rendered":"CherryFramework 3. How to remove Theme Editor menu from the Dashboard"},"content":{"rendered":"<p>\r\n<p> This video tutorial will show you how to remove Theme Editor menu from the WordPress Dashboard.<\/p>\r\n<p><a href=\"http:\/\/www.youtube.com\/watch?v=i2LtCY707Go?width=1280&amp;height=720\" rel=\"prettyPhoto\">CherryFramework 3. How to remove the Theme Editor menu from the Dashboard<\/a><\/p>\r\n<div class=\"inline-banner\">\r\n<a href=\"https:\/\/www.templatemonster.com\/service-center\/\">\r\n<img src=\"\/help\/files\/banners\/inline\/Banner-3-(835-x100).jpg\" \/>\r\n<\/a>\r\n<\/div>\r\n<p>The <strong>WordPress dashboard<\/strong> contains a menu item that allows you to edit any installed <strong>WordPress<\/strong> theme under <strong>Appearance<\/strong> > <strong>Editor<\/strong>: <\/p>\r\n<p><a href=\"\/help\/wp-content\/uploads\/2015\/11\/WordPress-How_to_remove_the_Theme_Editor_menu_from_the_Dashboard-1.png\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2015\/11\/WordPress-How_to_remove_the_Theme_Editor_menu_from_the_Dashboard-1-300x279.png\" alt=\"WordPress-How_to_remove_the_Theme_Editor_menu_from_the_Dashboard-1\" width=\"300\" height=\"279\" class=\"aligncenter size-medium wp-image-57655\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/11\/WordPress-How_to_remove_the_Theme_Editor_menu_from_the_Dashboard-1-300x279.png 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/11\/WordPress-How_to_remove_the_Theme_Editor_menu_from_the_Dashboard-1-150x140.png 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/11\/WordPress-How_to_remove_the_Theme_Editor_menu_from_the_Dashboard-1.png 347w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\r\n<p>If you do not want to allow editing theme files via your admin panel, you can check for how to remove such menu item from <strong>Dashboard<\/strong>:<\/p>\r\n<ol>\r\n<li>\r\n<p>Log into <strong>cPanel<\/strong>, go to <strong>File Manager<\/strong> (or you can also connect to <strong>FTP<\/strong>):<\/p>\r\n<p><a href=\"\/help\/wp-content\/uploads\/2015\/11\/WordPress-How_to_remove_the_Theme_Editor_menu_from_the_Dashboard-2.png\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2015\/11\/WordPress-How_to_remove_the_Theme_Editor_menu_from_the_Dashboard-2-300x205.png\" alt=\"WordPress-How_to_remove_the_Theme_Editor_menu_from_the_Dashboard-2\" width=\"300\" height=\"205\" class=\"aligncenter size-medium wp-image-57656\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/11\/WordPress-How_to_remove_the_Theme_Editor_menu_from_the_Dashboard-2-300x205.png 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/11\/WordPress-How_to_remove_the_Theme_Editor_menu_from_the_Dashboard-2-150x102.png 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/11\/WordPress-How_to_remove_the_Theme_Editor_menu_from_the_Dashboard-2.png 521w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>\r\n\t<\/li>\r\n<li>\r\n<p>Navigate the root directory of WordPress site. Then go to <strong>wp-content\/themes\/themexxxxx\/includes<\/strong> folder. Open <strong>custom-function.php<\/strong> file to edit:<\/p>\r\n<p><a href=\"\/help\/wp-content\/uploads\/2015\/11\/WordPress-How_to_remove_the_Theme_Editor_menu_from_the_Dashboard-3.png\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2015\/11\/WordPress-How_to_remove_the_Theme_Editor_menu_from_the_Dashboard-3-300x93.png\" alt=\"WordPress-How_to_remove_the_Theme_Editor_menu_from_the_Dashboard-3\" width=\"300\" height=\"93\" class=\"aligncenter size-medium wp-image-57657\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/11\/WordPress-How_to_remove_the_Theme_Editor_menu_from_the_Dashboard-3-300x93.png 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/11\/WordPress-How_to_remove_the_Theme_Editor_menu_from_the_Dashboard-3-150x46.png 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/11\/WordPress-How_to_remove_the_Theme_Editor_menu_from_the_Dashboard-3.png 978w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\r\n<p>At the bottom of this file, before closing code <strong>?><\/strong>, we will paste the following code: <\/p>\r\n<pre class=\"brush:php\">\r\n\t\t\tfunction remove_editor_menu() {\r\n\t\t\tremove_action('admin_menu', '_add_themes_utility_last', 101);\r\n\t\t\t}\r\n\t\t\tadd_action('_admin_menu', 'remove_editor_menu', 1);\r\n\t\t<\/pre>\r\n<p><a href=\"\/help\/wp-content\/uploads\/2015\/11\/WordPress-How_to_remove_the_Theme_Editor_menu_from_the_Dashboard-4.png\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2015\/11\/WordPress-How_to_remove_the_Theme_Editor_menu_from_the_Dashboard-4-300x126.png\" alt=\"WordPress-How_to_remove_the_Theme_Editor_menu_from_the_Dashboard-4\" width=\"300\" height=\"126\" class=\"aligncenter size-medium wp-image-57658\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/11\/WordPress-How_to_remove_the_Theme_Editor_menu_from_the_Dashboard-4-300x126.png 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/11\/WordPress-How_to_remove_the_Theme_Editor_menu_from_the_Dashboard-4-150x63.png 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/11\/WordPress-How_to_remove_the_Theme_Editor_menu_from_the_Dashboard-4.png 764w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\r\n<p>Click on <strong>Save<\/strong> button to save the file.<\/p>\r\n<\/li>\r\n<\/ol>\r\n<p>Refresh <strong>WordPress Dashboard<\/strong> to check:<\/p>\r\n<p><a href=\"\/help\/wp-content\/uploads\/2015\/11\/WordPress-How_to_remove_the_Theme_Editor_menu_from_the_Dashboard-5.png\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2015\/11\/WordPress-How_to_remove_the_Theme_Editor_menu_from_the_Dashboard-5-300x267.png\" alt=\"WordPress-How_to_remove_the_Theme_Editor_menu_from_the_Dashboard-5\" width=\"300\" height=\"267\" class=\"aligncenter size-medium wp-image-57659\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/11\/WordPress-How_to_remove_the_Theme_Editor_menu_from_the_Dashboard-5-300x267.png 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/11\/WordPress-How_to_remove_the_Theme_Editor_menu_from_the_Dashboard-5-150x134.png 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/11\/WordPress-How_to_remove_the_Theme_Editor_menu_from_the_Dashboard-5.png 714w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\r\n<p>Feel free to check the detailed video tutorial below:<\/p>\r\n<p><a href=\"http:\/\/www.youtube.com\/watch?v=i2LtCY707Go?width=1280&amp;height=720\" rel=\"prettyPhoto\">CherryFramework 3. How to remove the Theme Editor menu from the Dashboard<\/a><\/p>\r\n<\/p>\r\n<p><\/p>","protected":false},"excerpt":{"rendered":"<p>This video tutorial will show you how to remove the Theme Editor menu from the WordPress Dashboard.<\/p>\n","protected":false},"author":69,"featured_media":57661,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[728],"tags":[1843,664,642,2405],"_links":{"self":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/57654"}],"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\/69"}],"replies":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/comments?post=57654"}],"version-history":[{"count":1,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/57654\/revisions"}],"predecessor-version":[{"id":81989,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/57654\/revisions\/81989"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/media\/57661"}],"wp:attachment":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/media?parent=57654"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/categories?post=57654"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/tags?post=57654"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}