Dismiss Gutenberg Nag
Dismiss "try Gutenberg" nag, dashboard widget, when it is activated, or if it is in mu-plugins directory.
Please note that Gutenberg Editor is the future of WordPress and this is just a plugin for all those who need this feature.
- To date, try Gutenberg nag, preliminarily introduced in WP 4.9-beta3, in WP 4.9.5-beta1-42869, and wp 4.9.8-beta1-43502 was already respectively removed in WP 4.9-beta4, in WP 4.9-RC1, in WP 4.9-RC2, in WP 4.9-RC3, in WP 4.9.0, in WP 4.9.1, in WP 4.9.2, in WP 4.9.3, in WP 4.9.4, in WP 4.9.5-beta1-42883, in WP 4.9.5, in WP 4.9.6, in WP 4.9.7, in WP 4.9.9, in WP 5.0-alpha, and in WP 5.1-alpha, is embedded in core of WP 4.9.8 (2018-08-02) third quarter 2018 (The NeverEnding Story) according with this ticket and this ticket.
This is not a replacement but just a tool for those who need it.
This plugin use Semantic Versioning number MAJOR.MINOR.PATCH - More details are available here: Semver
Conditionally dismiss "try Gutenberg" callout
By default "try Gutenberg" callout is dismissed for all users type!
Once activated adds new options to the Settings -> Writing screen:
- Dismiss for all users.
- Dismiss for all users that not edit posts (edit_posts capability).
- Dismiss for all users specified (only for checked users).
GDPR-compliant: does not collect and store any user data.
Super light and fast plugin, easy on server resources!
By default try Gutenberg is displayed only for users with administrator capability in WordPress 4.9.8 but when the Gutenberg plugin is installed and activated, is displayed for all user capability type.
An option configuration page is added to the settings -> writing menu so that you can set the callout display according to your needs. This is the most complete plugin for configuring and removing the try Gutenberg callout.
For now is not necessary also remove completely Gutenberg because it is not embedded on core of WordPress 4.9.8 but is only availabe as plugin. Ownever I’m working on future features of new configuration option settings to add this possibility.
A neat trick, is to put this single file dismiss-gutenberg-nag.php (not its parent directory) in the /wp-content/mu-plugins/ directory (create it if not exists) so you won’t even have to enable it, and will be loaded by default, also, since first step installation of WordPress setup!
Also, for translation functionality, put all files of the single languages, dismiss-gutenberg-nag-en_US.mo for example, that you need (not its parent directory) in the /wp-content/mu-plugins/ directory (create it if not exists) and will be loaded by default, they also, since first step installation of WordPress setup!
- This, is different from the other similar plugins, because uses the filter hook, and not the action hook. Filters should filter information, thus receiving information/data, applying the filter and returning information/data, and then used. However, filters are still action hooks. WordPress defines add_filter/remove_filter as "hooks a function to a specific filter action", and add_action/remove_action as "hooks a function on to a specific action".
Translated by: Luciano Croce.
Available in American, Australian, Belgian FR, Brazilian, Canadian EN, Canadian FR, Catalan, Chilean, Colombian, English, French, German, Italian, New Zealander, Peruvian, Portuguese, Spanish, Swiss DE, Venezuelan and more other languages in becoming.
All readable text of this plugin are code free, no HTML tags was inserted (showed) on text domain strings of GlotPress.
- Thanks to Andrea Gandino for preliminary Italian translation approval, before I became italian PTE of my plugins.
- Thanks to Garrett Hyder for English (Canada) translation approval, and code contributions.
- Thanks to Pascal Birchler for code contributions.