What’s New in WordPress 4.5

WordPress 4.5 named “Coleman” was released just a few minutes ago. It is the first major WordPress release of 2016, and comes with some exciting new features. In this article, we will show you what’s new in WordPress 4.5, and which features you should try… Read More »

The post What’s New in WordPress 4.5 appeared first on WPBeginner.

WordPress 4.5 named “Coleman” was released just a few minutes ago. It is the first major WordPress release of 2016, and comes with some exciting new features. In this article, we will show you what’s new in WordPress 4.5, and which features you should try after updating your websites.

What's New in WordPress 4.5 (Features and Screenshots)

This is a major WordPress release, and unless you are on a managed WordPress hosting service, you will have to manually initiate the update.

Important: Don’t forget to create a complete WordPress backup before starting the update.

Theme Logo Support

Adding a logo to your site from customizer has been a long awaited feature. Many premium WordPress themes allowed users to set logos from theme options, but there was no standard way to do it.

With WordPress 4.5, theme developers are now able to enable theme support for logo. This will allow users to set a logo for their website using the customizer.

Theme support for logo in WordPress 4.5

Remember it is a theme feature, which means that it needs to be defined by your theme. If a theme does not support this feature, then you will not be able to see it in customizer.

Better Previews for Site Icons

Site Icons were introduced in WordPress 4.4. This feature allows users to set a favicon and application icon for their websites.

WordPress 4.5 brings a slight improvement to the feature. Up till 4.4.2, you only saw the preview of site icon when setting the image. With 4.5, you also see a preview under site identity panel after you have set the site icon.

Site icon preview

Responsive Previews in Customizer

Customizer in WordPress 4.5 comes with responsive live previews for desktop, tablet, and mobile devices.

Simply click on the device icon to switch the view between devices. This will give you a generic idea of how your site would look on different screens.

Responsive previews in WordPress 4.5

Optimized Image Generation Performance

Responsive images were one of the major improvements in WordPress 4.4, which allowed WordPress to show smaller image sizes to users on smaller screens.

WordPress 4.5 takes it to a new level by improving the performance of how WordPress generates image sizes.

Previously, WordPress used 90 for the image quality when compressing images. Now it will use 82, which produces nearly identical images with much smaller sizes.

Improved Comment Moderation Screen

WordPress 4.5 cleans up the comment moderation screen and makes it more usable. Until 4.4.2, when you clicked on the link in comment moderation notification email, you saw a page like this:

Old comment moderation page in WordPress 4.4 and earlier

This page didn’t allow you to edit a comment and if it also ignored plain HTML formatting used in a comment.

This is how the comment moderation screen looks in WordPress 4.5.

New comment moderation screen in WordPress 4.5

Same Domain Links in Comments will not have Nofollow attribute

Previously, all links added into comment content area had nofollow attribute added to them by default.

WordPress 4.5 will not add nofollow attribute to links pointing to the same domain.

If you or your users add link to a post or page on your site in the comment text, then WordPress will not add nofollow to it.

However, if a user add your link in the URL field when submitting comment, then WordPress will add nofollow and external attributes to the link.

See how you can disable website/url field in WordPress comment form.

Visual Editor Enhancements

Most WordPress users spend most of their time writing content. This makes visual editor one of the most important areas in the overall WordPress user experience.

WordPress 4.5 builds on some existing improvements and adds a few new ones to make writing faster and more enjoyable.

Inline Link Editor

One of the keyboard shortcuts in WordPress is CTRL+K (Command+K on Mac), which allows you to insert links in posts. Until 4.4.2, it opened the insert link popup which was a bit distracting.

In WordPress 4.5, pressing CTRL+K shows an inline insert link menu. Simply type the URL and continue writing your post without removing hands from keyboard.

Inline link editing in WordPress 4.5

New Inline Text Shortcuts

Inline text shortcuts were introduced in WordPress 4.3. These shortcuts allow you to quickly add formatting markup while writing posts.

WordPress 4.5 allows you to use three or more dashes — to add a horizontal line. You can also use backticks `code` to add code.

We reported in what’s coming in WordPress 4.5, that there will be shortcuts for bold and italic too. Unfortunately, those shortcut patterns didn’t make it into 4.5.

new inline shortcuts in WordPress 4.5

You can see a full list of shortcuts available in WordPress by clicking on the help icon in the visual editor.

Keyboard shortcuts modal

For those of you who don’t want to use these shortcuts, you can disable inline text shortcuts in visual editor.

Login With Email

Many online services like Facebook, Twitter, etc. let you sign in not only by using your username but also with your email address.

While you can easily forget your username, most people don’t forget their email address.

WordPress 4.5 allows users to sign in using either their username or email address as username.

Login with email support in WordPress 4.5

If you were using a plugin to allow user log in with email in WordPress, then you can safely deactivate that plugin.

Under The Hood Improvements

WordPress 4.5 also brings some exciting new improvements for developers.

Updated Libraries – WordPress 4.5 comes with new versions of bundled libraries for Underscores, Backbone, jQuery, and jQuery Migrate.

Selective Refresh in Customizer – Previously, some changes in customizer required entire page reload. WordPress 4.5 comes with a framework to allow selective refresh in the customizer. It is fast and will allow developers to do great things with live previews. (#27355).

Customizable Embed Templates – WordPress 4.4 introduced embeds which allowed users to embed posts from their own and other WordPress blogs. WordPress 4.5 makes embed templates customizable so that theme authors can adjust embed display to match their theme. (#34561)

WP_Site Class – WordPress 4.5 comes with WP_Site class for multisite WordPress installs. (#32450)

Script Loader – WordPress 4.5 introduces wp_add_inline_script() which makes it easier to add inline scripts. (#14853, #35873)

We hope this article gave you a good overview of what’s new in WordPress 4.5. We are particularly excited about optimized image generation and embed templates. What are you excited about?

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

The post What’s New in WordPress 4.5 appeared first on WPBeginner.

What’s Coming in WordPress 4.5 (Features and Screenshots)

The beta version of WordPress 4.5 was released last week. We followed the development closely, and we are excited to report that WordPress 4.5 is expected to be released during the second week of April, 2016. In this article, we will highlight what’s coming in… Read More »

The post What’s Coming in WordPress 4.5 (Features and Screenshots) appeared first on WPBeginner.

The beta version of WordPress 4.5 was released last week. We followed the development closely, and we are excited to report that WordPress 4.5 is expected to be released during the second week of April, 2016. In this article, we will highlight what’s coming in WordPress 4.5 with features and screenshots.

What to expect from upcoming WordPress 4.5

Note: You can try out the beta version on your computer or on a staging environment by using the WordPress Beta Tester plugin.

This is the beta release, which means no more new features will be added until the final release of WordPress 4.5. However, please know that some of these features may not make it into the final release.

Theme Logo Support

Adding theme logo from customizer is a long awaited feature. WordPress 4.5 will add theme logo support to WordPress core.

Many premium WordPress themes already allow users to upload custom logo using their own options panel. With the core support for the feature, it would become possible for users to do that from the theme customizer.

Theme Logo Support in upcoming WordPress 4.5

Themes would be able to define support for logo with size values like this:

add_image_size( 'twentysixteen-logo', 1200, 175 );
add_theme_support( 'site-logo', array( 'size' => 'twentysixteen-logo' ) );

If a theme does not support this feature, then it will not be visible in the customizer.

Visual Editor Improvements

Majority of WordPress users spend most of their time creating content. Anything that can make the writing experience better and faster is always a good thing.

WordPress 4.5 will bring some new improvements to the visual editor, which will improve the writing experience for users.

Inline Link Editing

WordPress comes with some great time saving shortcuts, which all help you write faster. One of these shortcuts is CTRL+K (Command+K on Mac), which allows you to insert links in posts.

This shortcut opens the insert link popup, which is a bit distracting.

With WordPress 4.5, pressing CTRL+K will show an inline insert link menu. Simply type the URL and continue writing your post without removing hands from keyboard.

Inline link editing in WordPress 4.5

More Inline Text Shortcuts

Inline text shortcuts were introduced in WordPress 4.3. They allowed users to quickly add formatting markup by using simple text shortcuts.

WordPress 4.5 is introducing more shortcuts like `code` for code and **bold** for bold.

New inline text shortcuts in WordPress 4.5

For those users who don’t like these shortcuts, here is how to disable inline text shortcuts in visual editor.

Improved Moderate Comment Screen

Many bloggers spend a lot of time moderating comments in WordPress. Comment moderation is a necessary evil that we all have to tolerate in order to combat comment spam in WordPress.

WordPress sends you an email notifications when there is a new comment submitted. Clicking on the approve, spam or trash link in the email will take you to a screen where you can see that comment with a button to perform the desired action.

This screen does not allow you to edit a comment. It also does not show you any formatting in comment text, which isn’t pleasant.

Moderate comment screen in WordPress 4.4.2

With WordPress 4.5, you will get to see an improved screen. It will show you the formatting in comment text as it would appear in the browser. It will also have a link to edit the comment.

Moderate comment screen in upcoming WordPress 4.5

Responsive Preview in Customizer

WordPress 4.5 will bring another cool addition to the customizer. You would now be able to see responsive previews of your site directly in the customizer.

You can click on the device icon at the bottom to switch the view between devices. Currently it shows Desktop, tablet, and mobile device previews. This gives you a generic idea of how your site would look on these devices.

Responsive previews in customizer

Optimized Image Size Generation

WordPress introduced responsive images in WordPress 4.4. This means that since 4.4, users on smaller screens get to see a smaller image appropriate for their screen.

This feature is great as it not only improves performance of websites on smaller screens, it also saves them money on data plans.

WordPress 4.5 will improve this further more. It will optimize images further to reduce their site upto 50% without any visible quality loss.

We still recommend saving images optimized for web for best results.

Allow Users to Login Using Email Address

It is hard to keep track of all the usernames we use across all the different sites. This is why many popular sites like Facebook, Twitter, and others allow their users to use their email address as username.

While you can easily forget your username, most people don’t forget their email address.

In the past, WordPress didn’t allow users to login with email by default. This is expected to change in WordPress 4.5.

Since each WordPress user on your site already has an email address associated with their account, they will now be able to use their email address to login.

WordPress 4.5 will allow users to login with email address

Developer Features

WordPress 4.5 will bring many under the hood improvements for developers. Here are some of the exciting improvements for developers:

Selective Refresh in Customizer – In customizer if a change has to be applied the entire page has to be reloaded. WordPress 4.5 will come with a robust framework allowing selective refresh in the customizer. This will make it incredibly fast, and it will allow developers to do great things with live previews. (#27355)

Customizable Embed Templates – WordPress 4.4 also introduced embeds which allowed users to embed posts from their own and other WordPress blogs. WordPress 4.5 will make the embed templates customizable so that theme authors can have custom displays. (#34561)

WP_Site Class – WordPress 4.5 will come with WP_Site class for multisite WordPress installs. (#32450)

Script Loader – Adding inline scripts will become easier with the introduction of wp_add_inline_script() in WordPress 4.5. (#14853, #35873)

We hope this article helped you learn what’s coming in WordPress 4.5. Let us know which features you find exciting and what you would like to see in future releases of WordPress?

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

The post What’s Coming in WordPress 4.5 (Features and Screenshots) appeared first on WPBeginner.