The WordPress 4.9.8 release is scheduled for July 31. One noteworthy addition is that a Try Gutenberg teaser will be presented to site administrators on their dashboard. It will look something like this…
While I am pleased to see Gutenberg forge ahead and introduced to a wider audience (in fact, this post is being composed in Gutenberg), I’m not yet ready to support my clients as they may unwittingly move from one editing experience to another. Oh, the change! Not yet familiar with Gutenberg? Here’s a great Gutenberg overview.
If you’re also not yet ready to push your clients this direction, there is a way to ensure users are not presented with this invitation.
The following code snippet disables the Gutenberg teaser. Many thanks to Andy Towler at ZigPress for pointing this out to me!
Distributing via MainWP
Some in the MainWP community asked for a tutorial on how to go about pushing this code to their child sites. Here’s a quick walk-through on how to use the gist above and the Code Snippets extension to hide the Gutenberg teaser on all your sites.
- Install Code Snippets on your MainWP dashboard.
- Go to the Code Snippets extension page.
- Add snippet title and optional description.
- Select the option “This Code Snippet executes a function on the Child Site.”
- Copy/paste this gist to the code editor.
- Select the sites on which you’d like to run this code.
- Click Save Snippet.
- Understand that “MainWP is not responsible for the code that you run on your sites” (nor am I)
- Click Run Snippet.
- Rest in the knowledge that you won’t yet be surprising your clients with the ways of Gutenberg.
Please note that once WP 5.0 hits, the Gutenberg editor will be enabled by default. If you are still not ready to introduce Gutenberg to your sites at that time, you will want to install the Classic Editor plugin.
Good parenting for your WordPress sites.