=== Classic Editor === Contributors: wordpressdotorg, azaozz, melchoyce, chanthaboune, alexislloyd, pento, youknowriad, desrosj, luciano-croce Tags: gutenberg, disable, disable gutenberg, editor, classic editor, block editor Requires at least: 4.9 Tested up to: 6.2 Stable tag: 1.6.3 Requires PHP: 5.2.4 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html Enables the previous "classic" editor and the old-style Edit Post screen with TinyMCE, Meta Boxes, etc. Supports all plugins that extend this screen. == Description == Classic Editor is an official plugin maintained by the WordPress team that restores the previous ("classic") WordPress editor and the "Edit Post" screen. It makes it possible to use plugins that extend that screen, add old-style meta boxes, or otherwise depend on the previous editor. Classic Editor is an official WordPress plugin, and will be fully supported and maintained until 2024, or as long as is necessary. At a glance, this plugin adds the following: * Administrators can select the default editor for all users. * Administrators can allow users to change their default editor. * When allowed, the users can choose which editor to use for each post. * Each post opens in the last editor used regardless of who edited it last. This is important for maintaining a consistent experience when editing content. In addition, the Classic Editor plugin includes several filters that let other plugins control the settings, and the editor choice per post and per post type. By default, this plugin hides all functionality available in the new block editor ("Gutenberg"). == Changelog == = 1.6.3 = * Added some WPCS fixes, props NicktheGeek on GitHub. * Updated "Tested up to" in the readme and removed it from classic-editor.php. This should fix false positive errors in security plugins in the future. = 1.6.2 = * Fixed bug that was preventing saving of the last used editor. = 1.6.1 = * Fixed a warning on the block editor based widgets screen. * Fixed use of a deprecated filter. = 1.6 = * Updated for WordPress 5.5. * Fixed minor issues with calling deprecated functions, needlessly registering uninstall hook, and capitalization of some strings. = 1.5 = * Updated for WordPress 5.2 and Gutenberg 5.3. * Enhanced and fixed the "open posts in the last editor used to edit them" logic. * Fixed adding post state so it can easily be accessed from other plugins. = 1.4 = * On network installations removed the restriction for only network activation. * Added support for network administrators to choose the default network-wide editor. * Fixed the settings link in the warning on network About screen. * Properly added the "Switch to classic editor" menu item to the block editor menu. = 1.3 = * Fixed removal of the "Try Gutenberg" dashboard widget. * Fixed condition for displaying of the after upgrade notice on the "What's New" screen. Shown when the classic editor is selected and users cannot switch editors. = 1.2 = * Fixed switching editors from the Add New (post) screen before a draft post is saved. * Fixed typo that was appending the edit URL to the `classic-editor` query var. * Changed detecting of WordPress 5.0 to not use version check. Fixes a bug when testing 5.1-alpha. * Changed the default value of the option to allow users to switch editors to false. * Added disabling of the Gutenberg plugin and lowered the required WordPress version to 4.9. * Added `classic_editor_network_default_settings` filter. = 1.1 = Fixed a bug where it may attempt to load the block editor for post types that do not support editor when users are allowed to switch editors. = 1.0 = * Updated for WordPress 5.0. * Changed all "Gutenberg" names/references to "block editor". * Refreshed the settings UI. * Removed disabling of the Gutenberg plugin. This was added for testing in WordPress 4.9. Users who want to continue following the development of Gutenberg in WordPress 5.0 and beyond will not need another plugin to disable it. * Added support for per-user settings of default editor. * Added support for admins to set the default editor for the site. * Added support for admins to allow users to change their default editor. * Added support for network admins to prevent site admins from changing the default settings. * Added support to store the last editor used for each post and open it next time. Enabled when users can choose default editor. * Added "post editor state" in the listing of posts on the Posts screen. Shows the editor that will be opened for the post. Enabled when users can choose default editor. * Added `classic_editor_enabled_editors_for_post` and `classic_editor_enabled_editors_for_post_type` filters. Can be used by other plugins to control or override the editor used for a particular post of post type. * Added `classic_editor_plugin_settings` filter. Can be used by other plugins to override the settings and disable the settings UI. = 0.5 = * Updated for Gutenberg 4.1 and WordPress 5.0-beta1. * Removed some functionality that now exists in Gutenberg. * Fixed redirecting back to the classic editor after looking at post revisions. = 0.4 = * Fixed removing of the "Try Gutenberg" call-out when the Gutenberg plugin is not activated. * Fixed to always show the settings and the settings link in the plugins list table. * Updated the readme text. = 0.3 = * Updated the option from a checkbox to couple of radio buttons, seems clearer. Thanks to @designsimply for the label text suggestions. * Some general updates and cleanup. = 0.2 = * Update for Gutenberg 1.9. * Remove warning and automatic deactivation when Gutenberg is not active. = 0.1 = Initial release. == Frequently Asked Questions == = Default settings = When activated and when using a classic (non-block) theme, this plugin will restore the previous ("classic") WordPress editor and hide the new block editor ("Gutenberg"). These settings can be changed at the Settings => Writing screen. = Default settings for network installation = There are two options: * When network-activated and when using a classic (non-block) theme, this plugin will set the classic editor as default and prevent site administrators and users from changing editors. The settings can be changed and default network-wide editor can be selected on the Network Settings screen. * When not network-activated each site administrator will be able to activate the plugin and choose options for their users. = Cannot find the "Switch to classic editor" link = It is in the main block editor menu, see this [screenshot](https://ps.w.org/classic-editor/assets/screenshot-7.png?rev=2023480). = Does this work with full site editing and block themes? = No, as block themes rely on blocks. [See Block themes article](https://wordpress.org/support/article/block-themes/) for more information. == Screenshots == 1. Admin settings on the Settings -> Writing screen. 2. User settings on the Profile screen. Visible when the users are allowed to switch editors. 3. "Action links" to choose alternative editor. Visible when the users are allowed to switch editors. 4. Link to switch to the block editor while editing a post in the classic editor. Visible when the users are allowed to switch editors. 5. Link to switch to the classic editor while editing a post in the block editor. Visible when the users are allowed to switch editors. 6. Network settings to select the default editor for the network and allow site admins to change it. 7. The "Switch to classic editor" link. {"id":542,"date":"2018-11-18T11:15:57","date_gmt":"2018-11-18T11:15:57","guid":{"rendered":"https:\/\/demo.everestthemes.com\/everestnews\/demo\/everest-news-pro-i\/?p=542"},"modified":"2018-11-18T11:15:57","modified_gmt":"2018-11-18T11:15:57","slug":"he-made-sixes-on-every-ball-for-an-over","status":"publish","type":"post","link":"https:\/\/duan-nhadat.com\/2018\/11\/18\/he-made-sixes-on-every-ball-for-an-over\/","title":{"rendered":"He made sixes on every ball for an over"},"content":{"rendered":"

\t\t\t\tDuis dapibus, augue et dapibus egestas, justo est accumsan justo, eu blandit metus ligula eu ligula. Duis eget lacus nulla. Maecenas ac quam aliquet, tincidunt purus et, vehicula ligula. Maecenas sagittis dignissim auctor. Ut sed diam at urna hendrerit vestibulum vel eget eros. Fusce congue vulputate risus, nec lobortis lorem auctor vel. Proin ut massa non turpis consectetur elementum eu nec nunc. Vivamus lacus ex, accumsan sed viverra tempor, cursus quis erat. Quisque blandit, quam sed tempus placerat, lacus magna auctor urna, sed tincidunt enim massa at mi. Pellentesque eleifend fermentum varius. Nam et interdum magna. Proin pharetra accumsan justo, sit amet laoreet lorem euismod a. Donec vitae pulvinar elit. Morbi dolor felis, congue a semper quis, pharetra vel tortor.<\/p>\n

 <\/p>\n

Pellentesque eu dui urna. Maecenas posuere lacus eget sem hendrerit, at pulvinar velit interdum. Duis ullamcorper justo mauris, ac feugiat velit tempus ac. Nullam dapibus nisi et eros fringilla tincidunt. Praesent eu fringilla risus, eu pharetra arcu. Cras eu purus id odio ultricies bibendum eu ut tellus. Aenean accumsan molestie ligula, id eleifend ligula. Etiam placerat eros vel nisl varius sollicitudin. Nulla at tortor eu quam varius rutrum a in est. Nunc laoreet at felis at auctor. Sed fermentum pharetra orci, sit amet aliquam est cursus sit amet. Proin nec massa non lorem sollicitudin faucibus. Maecenas egestas ante ut sodales facilisis. Etiam eleifend sapien vel lorem efficitur, non aliquet dolor pretium. Quisque et leo pharetra, cursus sem sit amet, consectetur est.<\/p>\n

 <\/p>\n

Aenean mattis nibh eget faucibus venenatis. Aliquam sodales, ex eu convallis venenatis, ipsum elit gravida mauris, et ornare felis felis nec neque. Donec maximus ultricies tortor ac mollis. Suspendisse id nunc ullamcorper, imperdiet dui ac, condimentum urna. Ut mattis lacus eget est placerat, a tempor ante feugiat. Aenean pretium arcu tellus, sit amet rhoncus nunc sagittis in. Etiam quis urna non leo dictum lobortis. Sed pellentesque et lectus sed fringilla. Etiam varius sem et augue pharetra, at placerat diam auctor. Quisque blandit commodo purus vitae placerat. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Quisque egestas turpis non ex interdum, ut pharetra sapien scelerisque. Donec euismod ac dolor eu mollis. Nunc accumsan tortor sit amet bibendum dignissim.<\/p>\n

Sed ac viverra massa, quis iaculis lacus. Nunc ullamcorper, ligula eget ornare tempor, mauris diam placerat lorem, faucibus suscipit diam lorem at velit. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Nam dictum elit eu elit pulvinar, varius maximus purus finibus. Duis non dolor dictum, suscipit dolor vel, auctor tortor. Phasellus feugiat elit eget nisi malesuada tincidunt. Interdum et malesuada fames ac ante ipsum primis in faucibus. In mattis ultrices dolor id maximus. Ut ac odio id nunc efficitur placerat ut non urna. Nunc volutpat commodo elementum. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Aliquam gravida condimentum risus at commodo. Praesent et vestibulum elit. Aenean a sollicitudin orci. Curabitur in rutrum diam, ut lobortis magna. Nunc blandit, libero pulvinar feugiat tempus, enim nulla posuere arcu, ut convallis erat nulla ac elit.\t\t<\/p>\n","protected":false},"excerpt":{"rendered":"

Duis dapibus, augue et dapibus egestas, justo est accumsan justo, eu blandit metus ligula eu<\/p>\n","protected":false},"author":1,"featured_media":527,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_wp_stack_schedule":false,"footnotes":""},"categories":[1],"tags":[],"class_list":["post-542","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-khong-phan-loai"],"_links":{"self":[{"href":"https:\/\/duan-nhadat.com\/wp-json\/wp\/v2\/posts\/542","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/duan-nhadat.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/duan-nhadat.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/duan-nhadat.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/duan-nhadat.com\/wp-json\/wp\/v2\/comments?post=542"}],"version-history":[{"count":0,"href":"https:\/\/duan-nhadat.com\/wp-json\/wp\/v2\/posts\/542\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/duan-nhadat.com\/wp-json\/wp\/v2\/media\/527"}],"wp:attachment":[{"href":"https:\/\/duan-nhadat.com\/wp-json\/wp\/v2\/media?parent=542"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/duan-nhadat.com\/wp-json\/wp\/v2\/categories?post=542"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/duan-nhadat.com\/wp-json\/wp\/v2\/tags?post=542"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}