As yâall might remember, Iâm currently co-leading the release of WordPress 4.9. Since weâre winding down toward release, I wanted to take the opportunity to walk through some of the key features of the release.
Drafting and scheduling changes in the Customizer
In WordPress 4.9, youâll be able to draft your customizations before publishing them, or schedule them to go live in the future.
Imagine youâve just started a new site â you have an introduction post up, but otherwise youâre still working on finishing up the design of your site. Now you can draft your changes and come back to them later, so when you are ready to go live, your site looks perfect.
Another scenario: letâs say your store is having a holiday sale. Rather than staying up until midnight to add a banner about the sale to your homepage, now you can add that new section to your homepage and schedule it to go live later. Once the sale is live, you can hop back in and schedule itâs removal after the holidays. Much less of a hassle!
Additionally, these new features includes a quick way to share a link to preview your changes on the front-end that anyone can view, not just your site users. Now you can easily share your design updates with clients and teammates before publishing them.
Weâve also made it safer to make changes in the Customizer. Weâve introduced âlockingâ (like post locking), so two people canât work on the same changes at once. This prevents people from overwriting each otherâs updates. Hurrah!
Finally, if you leave the Customizer with unsaved changes, when you come back youâre presented with the option of restoring those changes, which autosaved. Harder to lose your work. ?
A unified theme browsing experience
Since the WordPress 4.2 release, youâve been able to browse and preview your installed themes from within the Customizer, so you can try a bunch of themes before committing to one. 4.9 iterates and expands on this work. Now, you can also search, filter, and browse themes from the WordPress.org theme directory directly from the Customizer. This means once you start setting up your site, you wonât have to leave the Customizer when trying to find the perfect theme. Itâs just one step closer to a completely comprehensive, Customizer-driven site building experience.
Once you find a new theme you like, switching to that theme has become even easier. Previously, when switching themes, your menus and widgets had a bad habit of coming unassigned, so youâd have to go back and re-add them to your site. Weâve added some improvements to menus and widgets so you can feel even more comfortable with trying out a new look.
Widget Improvements
Following up on the Image, Video, and Audio widgets we created in WordPress 4.8, weâre introducing a Gallery widget in 4.9. Secondly, you can now add media directly to your Text widgets for mixed-media content.
Both of these improvements bring us closer to converging with Gutenbergfeatures â itâll be much easier to migrate widgets to blocks in the future.
Menu improvements
In usability testing, weâve consistently found that people struggle with creating menus and adding new pages to their menus in the Customizer. Iâve watched easily a dozen tests in which someone went to âAdd new menu,â hoping it would let them add a new page to their menu (rather than creating an entirely new menu to put on their site). It wasnât intuitive.
Coming in 4.9 is a new flow for creating menus in the Customizer, focusing on splitting up tasks into more manageable chunks and clear, friendly instructions. I worked with our local Happiness Engineers and Editorial team to simplify and clear up confusion around the specific interactions. Team work made the dream work, yâall.
Better, safer code editing
I wrote a bit about this in August, but one of the major improvements coming to 4.9 relates to code editing across the WordPress admin.
For example, syntax highlighting and error checking have been added to:
- The native WordPress plugin and theme editors
- The âAdditional CSSâ panel in the Customizer
- The Custom HTML widget, introduced in 4.8.1
Of these, my favorite is definitely the improvements to Additional CSS. Most of the sites I build nowadays use existing themes, so I donât need to do a bunch of custom coding, but I always want to tweak the design a bit. Weâve had syntax highlighting for a while on WordPress.com, but now Iâll finally be able to use this on my self-hosted sites, too. Weâve also added autocompletion, which makes writing CSS even faster!
Weâve also made it MUCH safer to make edits in the theme/plugin code editors. We also warn folk before entering the theme/plugin code editors now that you can mess up your site, and make folks click an âI Understandâ button before proceeding. And now, if you leave out a semicolon or call an undefined function, instead of white-screening your site, we catch the error and stop you from saving until you fix it.
Keep an eye out for WordPress 4.9, launching November 14th! And remember, always keep your WordPress sites up-to-date. ?