{"id":16105,"date":"2014-08-25T04:47:25","date_gmt":"2014-08-25T08:47:25","guid":{"rendered":"http:\/\/www.templatemonster.com\/help\/?p=16105"},"modified":"2017-07-18T04:56:35","modified_gmt":"2017-07-18T08:56:35","slug":"wordpress-set-default-editing-mode","status":"publish","type":"post","link":"https:\/\/www.templatemonster.com\/help\/wordpress-set-default-editing-mode.html","title":{"rendered":"WordPress. How to set a default editing mode"},"content":{"rendered":"<p>\r\n<\/p>\r\n<p>This tutorial shows how to set a default editing mode in WordPress.<\/p>\r\n<p><a href=\"http:\/\/www.youtube.com\/watch?v=Le4zZlv4ga4?width=1280&amp;height=720\" rel=\"prettyPhoto\">WordPress. How to set default editing mode<\/a><\/p>\r\n<p>As you know, posts and pages in WordPress can be modified in a <strong>text<\/strong> mode or in a <strong>visual<\/strong> mode. Sometimes it can be useful to set one default editing mode. <\/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<ol>\r\n<p>In order to set the default editing mode, there are two ways:<\/p>\r\n<li>\r\n<p> The first way is to open WordPress admin panel and go to <strong>Users <\/strong>menu. Click on your user account and select <strong>Disable the visual editor when writing<\/strong> option. This way you can set the text edit mode as default for your profile: <\/p>\r\n<p><a href=\"\/help\/wp-content\/uploads\/2012\/03\/set-default-editing-mode-1.jpg\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2012\/03\/set-default-editing-mode-1-300x228.jpg\" alt=\"set default editing mode-1\" width=\"300\" height=\"228\" class=\"aligncenter size-medium wp-image-36252\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2012\/03\/set-default-editing-mode-1-300x228.jpg 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2012\/03\/set-default-editing-mode-1-150x114.jpg 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2012\/03\/set-default-editing-mode-1.jpg 1001w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\r\n<\/li>\r\n<li>\r\n<p>In order to set text\/visual default edit mode for all users, please open <strong>wp-content\/themes\/themeXXXXX\/includes\/theme-function.php<\/strong> file. Please add one of the codes displayed below before the closing <strong> ?><\/strong> tag at the bottom of the file: <\/p>\r\n<p><a href=\"\/help\/wp-content\/uploads\/2012\/03\/set-default-editing-mode-2.jpg\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2012\/03\/set-default-editing-mode-2-300x228.jpg\" alt=\"set default editing mode-2\" width=\"300\" height=\"228\" class=\"aligncenter size-medium wp-image-36253\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2012\/03\/set-default-editing-mode-2-300x228.jpg 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2012\/03\/set-default-editing-mode-2-150x114.jpg 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2012\/03\/set-default-editing-mode-2.jpg 1001w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\r\n<ol>\r\n<li>\r\n<p> To set the visual mode as default, please add:<\/p>\r\n<pre class=\"brush:php\">add_filter( 'wp_default_editor', create_function('', 'return \"tinymce\";'));<\/pre>\r\n<p><a href=\"\/help\/wp-content\/uploads\/2012\/03\/set-default-editing-mode-3.jpg\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2012\/03\/set-default-editing-mode-3-300x154.jpg\" alt=\"set default editing mode-3\" width=\"300\" height=\"154\" class=\"aligncenter size-medium wp-image-36254\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2012\/03\/set-default-editing-mode-3-300x154.jpg 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2012\/03\/set-default-editing-mode-3-150x77.jpg 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2012\/03\/set-default-editing-mode-3.jpg 912w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\r\n<\/li>\r\n<li>\r\n<p>To set the text mode as default please add:<\/p>\r\n<pre class=\"brush:php\">add_filter('wp_default_editor', create_function('', 'return \"html\";'));<\/pre>\r\n<p><a href=\"\/help\/wp-content\/uploads\/2012\/03\/set-default-editing-mode-4.jpg\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2012\/03\/set-default-editing-mode-4-300x140.jpg\" alt=\"set default editing mode-4\" width=\"300\" height=\"140\" class=\"aligncenter size-medium wp-image-36255\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2012\/03\/set-default-editing-mode-4-300x140.jpg 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2012\/03\/set-default-editing-mode-4-150x70.jpg 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2012\/03\/set-default-editing-mode-4.jpg 997w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\r\n<\/li>\r\n<\/ol>\r\n<\/li>\r\n<\/ol>\r\n<p>Feel free to check the detailed video tutorial below:<\/p>\r\n<p><a href=\"http:\/\/www.youtube.com\/watch?v=Le4zZlv4ga4?width=1280&amp;height=720\" rel=\"prettyPhoto\">WordPress. How to set default editing mode<\/a><\/p>\r\n<\/p>\r\n<\/p>\r\n<p><\/p>","protected":false},"excerpt":{"rendered":"<p>This tutorial shows how to set a default editing mode in WordPress.<\/p>\n","protected":false},"author":67,"featured_media":16156,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[728],"tags":[1323,1048,664,1168,675,2405],"_links":{"self":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/16105"}],"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\/67"}],"replies":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/comments?post=16105"}],"version-history":[{"count":1,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/16105\/revisions"}],"predecessor-version":[{"id":82062,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/16105\/revisions\/82062"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/media\/16156"}],"wp:attachment":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/media?parent=16105"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/categories?post=16105"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/tags?post=16105"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}