New Theme Browsing Experience in the Customizer
WordPress 4.9 brings several improvements to the customizer. These changes offer a better user experience and a new set of tools for developers.
Previewing and changing themes directly from customizer is now more user-friendly. You can view all your installed themes in the preview panel and click on the live preview button to load them in the customizer.
New Gallery Widget in WordPress 4.9
WordPress 4.8 introduced new media widgets which included rich text, audio, image, and video. WordPress 4.9 builds upon that with the introduction of the new gallery widget.
This new widget allows you to create a native WordPress gallery and add it to your WordPress sidebar or any widget ready areas.
Just like the native WordPress galleries, this widget is also limited in terms of functionality. If you want a more powerful gallery with albums, then you need to look at a third-party plugin like Envira Gallery.
Save and Schedule Changes in the Customizer
WordPress 4.9 brings changesets to theme customizer. It is like post revisions but for your theme changes. You can store changes without applying them.
This new feature also allows you to easily share a preview of those changes with anyone. Simply copy the preview URL and send it to any user. They will be able to see the new changes without login.
Theme developers will now be able to use these new changes in the customizer JS API. These changes will allow them to add better controls, beautiful outer panels, and display notifications on the screen.
Add Media Button in Text Widget
The text widget in WordPress 4.8 came with plain text and HTML tabs. However, if you wanted to add an image in sidebar text widget, then you still had to write the HTML code.
WordPress 4.9 has fixed this by adding the ‘Add Media’ button in the text widget. Now you can easily select or upload an image directly inside the text widget.
OEmbed Support Outside Post Content
Previously automatic embeds didn’t work in areas other than post content. With WordPress 4.9, oEmbeds will now work in text widgets and other areas as well.
Shortcode in Sidebar Text Widgets
WordPress didn’t allow shortcode execution in text widgets. Users had to explicitly enable shortcodes in text widgets. WordPress 4.9 will finally change that and users will be able to add shortcodes in text widgets out of the box.
New Code Editing Experience in WordPress 4.9
WordPress allows you to add HTML/CSS code at various places like theme editor, custom CSS panel, or in a custom HTML widget.
Previously, these areas were plain text boxes and didn’t look or act like a proper code editor.
WordPress 4.9 has changed that by adding syntax highlighting, code suggestions, and auto-completion into those areas.
WordPress 4.9 now shows a warning to users when they access the editor.
It will also show users helpful tips and point them to custom CSS panel in the Customizer.
However, many users access the editor not to make changes but to quickly look up the code. Particularly when they are working on child themes. To help those users, the editor will now recursively show files and folder in the sidebar for easier browsing of all files in a theme folder.