Version Description
To upgrade this plugin, remove the old version and replace with the new version. Or just click "Update" from the Plugins screen and let WordPress do it for you automatically.
Note: uninstalling the plugin from the WP Plugins screen results in the removal of all settings and data from the WP database.
Download this release
Release Info
Developer | specialk |
Plugin | Disable Gutenberg |
Version | 1.7 |
Comparing to | |
See all releases |
Code changes from version 1.6 to 1.7
- css/font-icons.css +1 -0
- disable-gutenberg.php +8 -5
- inc/classic-editor.php +2 -2
- inc/plugin-core.php +3 -3
- inc/plugin-frontend.php +8 -1
- languages/disable-gutenberg.pot +58 -58
- readme.txt +46 -7
css/font-icons.css
CHANGED
@@ -9,6 +9,7 @@
|
|
9 |
url('../fonts/awesome/fontawesome-webfont.svg?v=4.7.0#fontawesomeregular') format('svg');
|
10 |
font-weight: normal;
|
11 |
font-style: normal;
|
|
|
12 |
}
|
13 |
.fa {
|
14 |
display: inline-block; font: normal normal normal 14px/1 FontAwesome; font-size: inherit; text-rendering: auto;
|
9 |
url('../fonts/awesome/fontawesome-webfont.svg?v=4.7.0#fontawesomeregular') format('svg');
|
10 |
font-weight: normal;
|
11 |
font-style: normal;
|
12 |
+
font-display: swap;
|
13 |
}
|
14 |
.fa {
|
15 |
display: inline-block; font: normal normal normal 14px/1 FontAwesome; font-size: inherit; text-rendering: auto;
|
disable-gutenberg.php
CHANGED
@@ -10,8 +10,8 @@
|
|
10 |
Contributors: specialk
|
11 |
Requires at least: 4.9
|
12 |
Tested up to: 5.1
|
13 |
-
Stable tag: 1.
|
14 |
-
Version: 1.
|
15 |
Requires PHP: 5.2.4
|
16 |
Text Domain: disable-gutenberg
|
17 |
Domain Path: /languages
|
@@ -32,7 +32,7 @@
|
|
32 |
You should have received a copy of the GNU General Public License
|
33 |
with this program. If not, visit: https://www.gnu.org/licenses/
|
34 |
|
35 |
-
Copyright
|
36 |
*/
|
37 |
|
38 |
if (!defined('ABSPATH')) die();
|
@@ -69,7 +69,7 @@ if (!class_exists('DisableGutenberg')) {
|
|
69 |
|
70 |
function constants() {
|
71 |
|
72 |
-
if (!defined('DISABLE_GUTENBERG_VERSION')) define('DISABLE_GUTENBERG_VERSION', '1.
|
73 |
if (!defined('DISABLE_GUTENBERG_REQUIRE')) define('DISABLE_GUTENBERG_REQUIRE', '4.9');
|
74 |
if (!defined('DISABLE_GUTENBERG_AUTHOR')) define('DISABLE_GUTENBERG_AUTHOR', 'Jeff Starr');
|
75 |
if (!defined('DISABLE_GUTENBERG_NAME')) define('DISABLE_GUTENBERG_NAME', __('Disable Gutenberg', 'disable-gutenberg'));
|
@@ -83,10 +83,11 @@ if (!class_exists('DisableGutenberg')) {
|
|
83 |
|
84 |
function includes() {
|
85 |
|
|
|
|
|
86 |
if (is_admin()) {
|
87 |
|
88 |
require_once DISABLE_GUTENBERG_DIR .'inc/classic-editor.php';
|
89 |
-
require_once DISABLE_GUTENBERG_DIR .'inc/plugin-core.php';
|
90 |
require_once DISABLE_GUTENBERG_DIR .'inc/resources-enqueue.php';
|
91 |
require_once DISABLE_GUTENBERG_DIR .'inc/settings-display.php';
|
92 |
require_once DISABLE_GUTENBERG_DIR .'inc/settings-register.php';
|
@@ -233,6 +234,8 @@ if (!class_exists('DisableGutenberg')) {
|
|
233 |
|
234 |
}
|
235 |
|
|
|
|
|
236 |
$DisableGutenberg = new DisableGutenberg();
|
237 |
|
238 |
}
|
10 |
Contributors: specialk
|
11 |
Requires at least: 4.9
|
12 |
Tested up to: 5.1
|
13 |
+
Stable tag: 1.7
|
14 |
+
Version: 1.7
|
15 |
Requires PHP: 5.2.4
|
16 |
Text Domain: disable-gutenberg
|
17 |
Domain Path: /languages
|
32 |
You should have received a copy of the GNU General Public License
|
33 |
with this program. If not, visit: https://www.gnu.org/licenses/
|
34 |
|
35 |
+
Copyright 2019 Monzilla Media. All rights reserved.
|
36 |
*/
|
37 |
|
38 |
if (!defined('ABSPATH')) die();
|
69 |
|
70 |
function constants() {
|
71 |
|
72 |
+
if (!defined('DISABLE_GUTENBERG_VERSION')) define('DISABLE_GUTENBERG_VERSION', '1.7');
|
73 |
if (!defined('DISABLE_GUTENBERG_REQUIRE')) define('DISABLE_GUTENBERG_REQUIRE', '4.9');
|
74 |
if (!defined('DISABLE_GUTENBERG_AUTHOR')) define('DISABLE_GUTENBERG_AUTHOR', 'Jeff Starr');
|
75 |
if (!defined('DISABLE_GUTENBERG_NAME')) define('DISABLE_GUTENBERG_NAME', __('Disable Gutenberg', 'disable-gutenberg'));
|
83 |
|
84 |
function includes() {
|
85 |
|
86 |
+
require_once DISABLE_GUTENBERG_DIR .'inc/plugin-core.php';
|
87 |
+
|
88 |
if (is_admin()) {
|
89 |
|
90 |
require_once DISABLE_GUTENBERG_DIR .'inc/classic-editor.php';
|
|
|
91 |
require_once DISABLE_GUTENBERG_DIR .'inc/resources-enqueue.php';
|
92 |
require_once DISABLE_GUTENBERG_DIR .'inc/settings-display.php';
|
93 |
require_once DISABLE_GUTENBERG_DIR .'inc/settings-register.php';
|
234 |
|
235 |
}
|
236 |
|
237 |
+
global $DisableGutenberg;
|
238 |
+
|
239 |
$DisableGutenberg = new DisableGutenberg();
|
240 |
|
241 |
}
|
inc/classic-editor.php
CHANGED
@@ -12,13 +12,13 @@ function disable_gutenberg_remove() {
|
|
12 |
|
13 |
if ($block_editor) {
|
14 |
|
15 |
-
add_filter('use_block_editor_for_post_type', '__return_false', 100);
|
16 |
|
17 |
}
|
18 |
|
19 |
if ($gutenberg) {
|
20 |
|
21 |
-
add_filter('gutenberg_can_edit_post_type', '__return_false', 100);
|
22 |
|
23 |
disable_gutenberg_hooks();
|
24 |
|
12 |
|
13 |
if ($block_editor) {
|
14 |
|
15 |
+
add_filter('use_block_editor_for_post_type', '__return_false', 100, 2);
|
16 |
|
17 |
}
|
18 |
|
19 |
if ($gutenberg) {
|
20 |
|
21 |
+
add_filter('gutenberg_can_edit_post_type', '__return_false', 100, 2);
|
22 |
|
23 |
disable_gutenberg_hooks();
|
24 |
|
inc/plugin-core.php
CHANGED
@@ -93,7 +93,7 @@ function disable_gutenberg_get_post_types() {
|
|
93 |
|
94 |
$post_types = get_post_types(array(), 'objects');
|
95 |
|
96 |
-
$unset = array('attachment', 'revision', 'nav_menu_item', 'custom_css', 'customize_changeset', 'oembed_cache');
|
97 |
|
98 |
$unset = apply_filters('disable_gutenberg_post_types_unset', $unset);
|
99 |
|
@@ -104,7 +104,7 @@ function disable_gutenberg_get_post_types() {
|
|
104 |
$types[$key]['name'] = $post_type->name;
|
105 |
$types[$key]['label'] = $post_type->label;
|
106 |
|
107 |
-
if (in_array($post_type->name, $unset)
|
108 |
|
109 |
}
|
110 |
|
@@ -376,7 +376,7 @@ function disable_gutenberg_whitelist_title($post_id = false) {
|
|
376 |
|
377 |
}
|
378 |
|
379 |
-
return in_array($title, $whitelist);
|
380 |
|
381 |
}
|
382 |
|
93 |
|
94 |
$post_types = get_post_types(array(), 'objects');
|
95 |
|
96 |
+
$unset = array('attachment', 'revision', 'nav_menu_item', 'custom_css', 'customize_changeset', 'oembed_cache', 'user_request', 'wp_block');
|
97 |
|
98 |
$unset = apply_filters('disable_gutenberg_post_types_unset', $unset);
|
99 |
|
104 |
$types[$key]['name'] = $post_type->name;
|
105 |
$types[$key]['label'] = $post_type->label;
|
106 |
|
107 |
+
if (in_array($post_type->name, $unset)) unset($types[$key]);
|
108 |
|
109 |
}
|
110 |
|
376 |
|
377 |
}
|
378 |
|
379 |
+
return (!empty($title) && in_array($title, $whitelist));
|
380 |
|
381 |
}
|
382 |
|
inc/plugin-frontend.php
CHANGED
@@ -2,10 +2,17 @@
|
|
2 |
|
3 |
function disable_gutenberg_wp_enqueue_scripts() {
|
4 |
|
|
|
|
|
5 |
$options = get_option('disable_gutenberg_options');
|
6 |
|
7 |
$enable = isset($options['styles-enable']) ? $options['styles-enable'] : false;
|
8 |
|
9 |
-
if (!$enable)
|
|
|
|
|
|
|
|
|
|
|
10 |
|
11 |
}
|
2 |
|
3 |
function disable_gutenberg_wp_enqueue_scripts() {
|
4 |
|
5 |
+
// TODO: conditional enable/disable based on plugin settings
|
6 |
+
|
7 |
$options = get_option('disable_gutenberg_options');
|
8 |
|
9 |
$enable = isset($options['styles-enable']) ? $options['styles-enable'] : false;
|
10 |
|
11 |
+
if (!$enable) {
|
12 |
+
|
13 |
+
wp_dequeue_style('wp-block-library');
|
14 |
+
wp_dequeue_style('wp-block-library-theme');
|
15 |
+
|
16 |
+
}
|
17 |
|
18 |
}
|
languages/disable-gutenberg.pot
CHANGED
@@ -3,7 +3,7 @@ msgid ""
|
|
3 |
msgstr ""
|
4 |
"Project-Id-Version: Disable Gutenberg\n"
|
5 |
"Report-Msgid-Bugs-To: \n"
|
6 |
-
"POT-Creation-Date:
|
7 |
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
8 |
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
9 |
"Language-Team: \n"
|
@@ -19,50 +19,96 @@ msgstr ""
|
|
19 |
msgid "Disable Gutenberg"
|
20 |
msgstr ""
|
21 |
|
22 |
-
#: disable-gutenberg.php:
|
23 |
msgid "Settings"
|
24 |
msgstr ""
|
25 |
|
26 |
-
#: disable-gutenberg.php:
|
27 |
msgid "Plugin Homepage"
|
28 |
msgstr ""
|
29 |
|
30 |
-
#: disable-gutenberg.php:
|
31 |
msgid "Homepage"
|
32 |
msgstr ""
|
33 |
|
34 |
-
#: disable-gutenberg.php:
|
35 |
msgid "Click here to rate and review this plugin on WordPress.org"
|
36 |
msgstr ""
|
37 |
|
38 |
-
#: disable-gutenberg.php:
|
39 |
msgid "Rate this plugin"
|
40 |
msgstr ""
|
41 |
|
42 |
-
#: disable-gutenberg.php:
|
43 |
msgid "requires WordPress "
|
44 |
msgstr ""
|
45 |
|
46 |
-
#: disable-gutenberg.php:
|
47 |
msgid " or higher, and has been deactivated! "
|
48 |
msgstr ""
|
49 |
|
50 |
-
#: disable-gutenberg.php:
|
51 |
msgid "Please return to the"
|
52 |
msgstr ""
|
53 |
|
54 |
-
#: disable-gutenberg.php:
|
55 |
msgid "WP Admin Area"
|
56 |
msgstr ""
|
57 |
|
58 |
-
#: disable-gutenberg.php:
|
59 |
msgid "to upgrade WordPress and try again."
|
60 |
msgstr ""
|
61 |
|
62 |
-
#: disable-gutenberg.php:
|
63 |
msgid "Sorry, pal!"
|
64 |
msgstr ""
|
65 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
66 |
#: inc/settings-register.php:30
|
67 |
msgid "Complete Disable"
|
68 |
msgstr ""
|
@@ -245,52 +291,6 @@ msgstr ""
|
|
245 |
msgid "Please give a 5-star rating! A huge THANK YOU for your support!"
|
246 |
msgstr ""
|
247 |
|
248 |
-
#: inc/settings-reset.php:18
|
249 |
-
msgid "Default options restored."
|
250 |
-
msgstr ""
|
251 |
-
|
252 |
-
#: inc/settings-reset.php:24
|
253 |
-
msgid "No changes made to options."
|
254 |
-
msgstr ""
|
255 |
-
|
256 |
-
#: inc/resources-enqueue.php:33
|
257 |
-
msgid "Confirm Reset"
|
258 |
-
msgstr ""
|
259 |
-
|
260 |
-
#: inc/resources-enqueue.php:34
|
261 |
-
msgid "Restore default options?"
|
262 |
-
msgstr ""
|
263 |
-
|
264 |
-
#: inc/resources-enqueue.php:35
|
265 |
-
msgid "Yes, make it so."
|
266 |
-
msgstr ""
|
267 |
-
|
268 |
-
#: inc/resources-enqueue.php:36
|
269 |
-
msgid "No, abort mission."
|
270 |
-
msgstr ""
|
271 |
-
|
272 |
-
#: inc/plugin-features.php:49
|
273 |
-
msgid "(Classic)"
|
274 |
-
msgstr ""
|
275 |
-
|
276 |
-
#: inc/plugin-features.php:84
|
277 |
-
msgid "Block Edit"
|
278 |
-
msgstr ""
|
279 |
-
|
280 |
-
#: inc/plugin-features.php:86
|
281 |
-
#, php-format
|
282 |
-
msgid "Edit “%s” in the Block Editor"
|
283 |
-
msgstr ""
|
284 |
-
|
285 |
-
#: inc/plugin-features.php:94
|
286 |
-
msgid "Classic Edit"
|
287 |
-
msgstr ""
|
288 |
-
|
289 |
-
#: inc/plugin-features.php:96
|
290 |
-
#, php-format
|
291 |
-
msgid "Edit “%s” in the Classic Editor"
|
292 |
-
msgstr ""
|
293 |
-
|
294 |
#. Description of the plugin
|
295 |
msgid ""
|
296 |
"Disables Gutenberg Block Editor and restores the Classic Editor and original "
|
3 |
msgstr ""
|
4 |
"Project-Id-Version: Disable Gutenberg\n"
|
5 |
"Report-Msgid-Bugs-To: \n"
|
6 |
+
"POT-Creation-Date: 2019-03-07 01:25+0000\n"
|
7 |
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
8 |
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
9 |
"Language-Team: \n"
|
19 |
msgid "Disable Gutenberg"
|
20 |
msgstr ""
|
21 |
|
22 |
+
#: disable-gutenberg.php:158
|
23 |
msgid "Settings"
|
24 |
msgstr ""
|
25 |
|
26 |
+
#: disable-gutenberg.php:173
|
27 |
msgid "Plugin Homepage"
|
28 |
msgstr ""
|
29 |
|
30 |
+
#: disable-gutenberg.php:174
|
31 |
msgid "Homepage"
|
32 |
msgstr ""
|
33 |
|
34 |
+
#: disable-gutenberg.php:179
|
35 |
msgid "Click here to rate and review this plugin on WordPress.org"
|
36 |
msgstr ""
|
37 |
|
38 |
+
#: disable-gutenberg.php:180
|
39 |
msgid "Rate this plugin"
|
40 |
msgstr ""
|
41 |
|
42 |
+
#: disable-gutenberg.php:202
|
43 |
msgid "requires WordPress "
|
44 |
msgstr ""
|
45 |
|
46 |
+
#: disable-gutenberg.php:203
|
47 |
msgid " or higher, and has been deactivated! "
|
48 |
msgstr ""
|
49 |
|
50 |
+
#: disable-gutenberg.php:204
|
51 |
msgid "Please return to the"
|
52 |
msgstr ""
|
53 |
|
54 |
+
#: disable-gutenberg.php:205
|
55 |
msgid "WP Admin Area"
|
56 |
msgstr ""
|
57 |
|
58 |
+
#: disable-gutenberg.php:205
|
59 |
msgid "to upgrade WordPress and try again."
|
60 |
msgstr ""
|
61 |
|
62 |
+
#: disable-gutenberg.php:225 disable-gutenberg.php:231
|
63 |
msgid "Sorry, pal!"
|
64 |
msgstr ""
|
65 |
|
66 |
+
#: inc/settings-reset.php:18
|
67 |
+
msgid "Default options restored."
|
68 |
+
msgstr ""
|
69 |
+
|
70 |
+
#: inc/settings-reset.php:24
|
71 |
+
msgid "No changes made to options."
|
72 |
+
msgstr ""
|
73 |
+
|
74 |
+
#: inc/plugin-features.php:49
|
75 |
+
msgid "(Classic)"
|
76 |
+
msgstr ""
|
77 |
+
|
78 |
+
#: inc/plugin-features.php:84
|
79 |
+
msgid "Block Edit"
|
80 |
+
msgstr ""
|
81 |
+
|
82 |
+
#: inc/plugin-features.php:86
|
83 |
+
#, php-format
|
84 |
+
msgid "Edit “%s” in the Block Editor"
|
85 |
+
msgstr ""
|
86 |
+
|
87 |
+
#: inc/plugin-features.php:94
|
88 |
+
msgid "Classic Edit"
|
89 |
+
msgstr ""
|
90 |
+
|
91 |
+
#: inc/plugin-features.php:96
|
92 |
+
#, php-format
|
93 |
+
msgid "Edit “%s” in the Classic Editor"
|
94 |
+
msgstr ""
|
95 |
+
|
96 |
+
#: inc/resources-enqueue.php:33
|
97 |
+
msgid "Confirm Reset"
|
98 |
+
msgstr ""
|
99 |
+
|
100 |
+
#: inc/resources-enqueue.php:34
|
101 |
+
msgid "Restore default options?"
|
102 |
+
msgstr ""
|
103 |
+
|
104 |
+
#: inc/resources-enqueue.php:35
|
105 |
+
msgid "Yes, make it so."
|
106 |
+
msgstr ""
|
107 |
+
|
108 |
+
#: inc/resources-enqueue.php:36
|
109 |
+
msgid "No, abort mission."
|
110 |
+
msgstr ""
|
111 |
+
|
112 |
#: inc/settings-register.php:30
|
113 |
msgid "Complete Disable"
|
114 |
msgstr ""
|
291 |
msgid "Please give a 5-star rating! A huge THANK YOU for your support!"
|
292 |
msgstr ""
|
293 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
294 |
#. Description of the plugin
|
295 |
msgid ""
|
296 |
"Disables Gutenberg Block Editor and restores the Classic Editor and original "
|
readme.txt
CHANGED
@@ -10,8 +10,8 @@ Donate link: https://monzillamedia.com/donate.html
|
|
10 |
Contributors: specialk
|
11 |
Requires at least: 4.9
|
12 |
Tested up to: 5.1
|
13 |
-
Stable tag: 1.
|
14 |
-
Version: 1.
|
15 |
Requires PHP: 5.2.4
|
16 |
Text Domain: disable-gutenberg
|
17 |
Domain Path: /languages
|
@@ -89,9 +89,9 @@ Gutenberg is a useful editor but sometimes you want to disable it for specific p
|
|
89 |
The Disable Gutenberg plugin is targeted at everyone who is not ready for the major changes brought by Gutenberg. Install Disable Gutenberg NOW to be ready for when Gutenberg is finally merged into core and released to the public (likely in WP 5.0). That way, your users and clients will experience the same awesome UX as before ;)
|
90 |
|
91 |
|
92 |
-
**
|
93 |
|
94 |
-
This plugin does not collect any user data.
|
95 |
|
96 |
__If you like this plugin, please give it a [5-star rating](https://wordpress.org/support/plugin/disable-gutenberg/reviews/?rate=5#new-post), thank you!__
|
97 |
|
@@ -159,6 +159,22 @@ Or, if WordPress is installed in a subdirectory, for example:
|
|
159 |
So if you hide the plugin's menu item, you always can access the settings directly.
|
160 |
|
161 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
162 |
**Uninstalling**
|
163 |
|
164 |
This plugin cleans up after itself. All plugin settings will be removed from your database when the plugin is uninstalled via the Plugins screen.
|
@@ -224,7 +240,20 @@ Because it is being promoted by the Gutenberg developers and the "official" plug
|
|
224 |
|
225 |
In order for template exclusions to work, the template must be registered with the page itself. The only way to do this is via the "Edit Page" screen, in the "Page Attributes" meta box. There you will find an option to set the page template. Remember to save your changes.
|
226 |
|
227 |
-
After assigning some templates, they will be recognized by Disable Gutenberg. So to disable Gutenberg on any registered template, you can add them via the plugin setting, "Disable for Templates".
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
228 |
|
229 |
|
230 |
**Got a question?**
|
@@ -247,6 +276,7 @@ And/or purchase one of my premium WordPress plugins:
|
|
247 |
* [BBQ Pro](https://plugin-planet.com/bbq-pro/) - Super fast WordPress firewall
|
248 |
* [Blackhole Pro](https://plugin-planet.com/blackhole-pro/) - Automatically block bad bots
|
249 |
* [Banhammer Pro](https://plugin-planet.com/banhammer-pro/) - Monitor traffic and ban the bad guys
|
|
|
250 |
* [USP Pro](https://plugin-planet.com/usp-pro/) - Unlimited front-end forms
|
251 |
|
252 |
Links, tweets and likes also appreciated. Thanks! :)
|
@@ -257,9 +287,18 @@ Links, tweets and likes also appreciated. Thanks! :)
|
|
257 |
|
258 |
Thank you to everyone for using Disable Gutenberg and for all the [awesome 5-star reviews](https://wordpress.org/support/plugin/disable-gutenberg/reviews/)!
|
259 |
|
260 |
-
Version 1.5 brings some great new features and improvements. Note that better Multisite support is being developed for a future release. If you have any feedback or suggestions to make this plugin the absolute best it can be, and/or would like to help with development, please reach me via my [contact form](https://perishablepress.com/contact/) at Perishable Press.
|
|
|
|
|
|
|
261 |
|
262 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
263 |
|
264 |
**1.6 (2019/02/02)**
|
265 |
|
10 |
Contributors: specialk
|
11 |
Requires at least: 4.9
|
12 |
Tested up to: 5.1
|
13 |
+
Stable tag: 1.7
|
14 |
+
Version: 1.7
|
15 |
Requires PHP: 5.2.4
|
16 |
Text Domain: disable-gutenberg
|
17 |
Domain Path: /languages
|
89 |
The Disable Gutenberg plugin is targeted at everyone who is not ready for the major changes brought by Gutenberg. Install Disable Gutenberg NOW to be ready for when Gutenberg is finally merged into core and released to the public (likely in WP 5.0). That way, your users and clients will experience the same awesome UX as before ;)
|
90 |
|
91 |
|
92 |
+
**Privacy**
|
93 |
|
94 |
+
This plugin does not collect or store any user data. It does not set any cookies, and it does not connect to any third-party locations. Thus, this plugin does not affect user privacy in any way.
|
95 |
|
96 |
__If you like this plugin, please give it a [5-star rating](https://wordpress.org/support/plugin/disable-gutenberg/reviews/?rate=5#new-post), thank you!__
|
97 |
|
159 |
So if you hide the plugin's menu item, you always can access the settings directly.
|
160 |
|
161 |
|
162 |
+
**More Tools**
|
163 |
+
|
164 |
+
Here is a description of the tools available by clicking the "More Tools" link.
|
165 |
+
|
166 |
+
* Disable Nag - Disables "Try Gutenberg" nag
|
167 |
+
* Enable Frontend - Enables the frontend Gutenberg stylesheet
|
168 |
+
* Whitelist Options - Displays the Whitelist settings
|
169 |
+
* Plugin Menu Item - Hides the Disable Gutenberg menu item
|
170 |
+
* Gutenberg Menu Item - Hides the Gutenberg plugin menu item (for WP less than 5.0)
|
171 |
+
* Display Edit Links - Displays "Add New (Classic)" menu links and Classic/Block edit links
|
172 |
+
* ACF Support - Enables the Custom Fields Meta Box (ACF plugin disables by default)
|
173 |
+
* Reset Options - Restores the default plugin options
|
174 |
+
|
175 |
+
If there are any questions about these items or anything else, feel free to [contact me directly](https://perishablepress.com/contact/) or post in the [WP Support Forums](https://wordpress.org/support/plugin/disable-gutenberg/).
|
176 |
+
|
177 |
+
|
178 |
**Uninstalling**
|
179 |
|
180 |
This plugin cleans up after itself. All plugin settings will be removed from your database when the plugin is uninstalled via the Plugins screen.
|
240 |
|
241 |
In order for template exclusions to work, the template must be registered with the page itself. The only way to do this is via the "Edit Page" screen, in the "Page Attributes" meta box. There you will find an option to set the page template. Remember to save your changes.
|
242 |
|
243 |
+
After assigning some templates, they will be recognized by Disable Gutenberg. So to disable Gutenberg on any registered template, you can add them via the plugin setting, "Disable for Templates". Examples:
|
244 |
+
|
245 |
+
* Template name is `page-custom.php`, located in the root theme directory: enter `page-custom.php` in the Template Exclusion setting
|
246 |
+
* Template name is `page-custom.php`, located in a subdirectory named `templates`: enter `templates/page-custom.php`
|
247 |
+
|
248 |
+
|
249 |
+
**The shortcut links are mixed up?**
|
250 |
+
|
251 |
+
In previous versions the default was to show the Gutenberg Editor links. In 1.5.2, the default is to hide the extra editor links. So what I'm guessing happened in this case is that you had a previous version of DG and changed some settings. When you did that, it set the "show edit links" option to the then default, which is enabled. So now that you have upgraded, that saved "enabled" option still applies. Now to fix, you can do one of two things:
|
252 |
+
|
253 |
+
- Visit the More Tools and disable the option to "Display Edit Links"
|
254 |
+
- Or simply click to Restore the default plugin settings
|
255 |
+
|
256 |
+
Either route will get you there.
|
257 |
|
258 |
|
259 |
**Got a question?**
|
276 |
* [BBQ Pro](https://plugin-planet.com/bbq-pro/) - Super fast WordPress firewall
|
277 |
* [Blackhole Pro](https://plugin-planet.com/blackhole-pro/) - Automatically block bad bots
|
278 |
* [Banhammer Pro](https://plugin-planet.com/banhammer-pro/) - Monitor traffic and ban the bad guys
|
279 |
+
* [GA Google Analytics Pro](https://plugin-planet.com/ga-google-analytics-pro/) - Connect your WordPress to Google Analytics
|
280 |
* [USP Pro](https://plugin-planet.com/usp-pro/) - Unlimited front-end forms
|
281 |
|
282 |
Links, tweets and likes also appreciated. Thanks! :)
|
287 |
|
288 |
Thank you to everyone for using Disable Gutenberg and for all the [awesome 5-star reviews](https://wordpress.org/support/plugin/disable-gutenberg/reviews/)!
|
289 |
|
290 |
+
Version 1.5 brings some great new features and improvements. Note that better Multisite support is being developed for a future release. If you have any feedback or suggestions to make this plugin the absolute best it can be, and/or would like to help with development, please reach me via my [contact form](https://perishablepress.com/contact/) at Perishable Press.
|
291 |
+
|
292 |
+
|
293 |
+
**1.7 (2019/03/06)**
|
294 |
|
295 |
+
* Fixes bug with empty titles reverting to Gutenberg
|
296 |
+
* Removes requirement for custom fields for post types
|
297 |
+
* Resolves error when using as mu-plugin (thanks [Dave Lavoie](https://ep4.com/))
|
298 |
+
* Adds enable/disable support for `wp-block-library-theme`
|
299 |
+
* Tweaks plugin settings screen UI
|
300 |
+
* Generates new default translation template
|
301 |
+
* Tests on WordPress 5.1 and 5.2 (alpha)
|
302 |
|
303 |
**1.6 (2019/02/02)**
|
304 |
|