what's new in wordpress 4.7

22
What’s new in WordPress 4.7 @newtlabsuk facebook.com/groups/wpquestions boywattsy @newtlab What’s new in WordPress 4.7

Upload: steven-watts

Post on 13-Apr-2017

65 views

Category:

Technology


4 download

TRANSCRIPT

Page 1: What's new in WordPress 4.7

What’s new inWordPress 4.7

@newtlabsukfacebook.com/groups/wpquestions

Steven Watts | @bboywattsy @newtlabsuk | newtlabs.co.uk

What’s new in WordPress 4.7

Page 2: What's new in WordPress 4.7

WHY UPDATE?

• Last major release of the year• New improvements and several bug fixes• Requires manual update unless using a managed hosting service• Don’t forget to take a complete backup before updating

Steven Watts | @bboywattsy @newtlabsuk | newtlabs.co.uk

What’s new in WordPress 4.7

Page 3: What's new in WordPress 4.7

Steven Watts | @bboywattsy @newtlabsuk | newtlabs.co.uk

What’s new in WordPress 4.7

Presenting Twenty Seventeen

Page 4: What's new in WordPress 4.7

Focuses on business sites

Comes with starter content to help new users

Features a customisable front page with multiple sections

Widgets, navigation, social menus, a logo, custom colours, and more

Works in many languages, on any device, and for a wide range of users

Steven Watts | @bboywattsy @newtlabsuk | newtlabs.co.uk

What’s new in WordPress 4.7

Presenting Twenty Seventeen

Page 5: What's new in WordPress 4.7

• Theme Starter Content

• Edit Shortcuts

• Video Headers

• Smoother Menu Building

• Custom CSS

• PDF Thumbnail Previews

• Dashboard in your language

WordPress 4.7 FEATURES• REST API Content Endpoints

• Post Type Templates

• Theme API Goodies

• Custom Bulk Actions

• WP_Hook

• Settings Registration API

• Customise Changesets

Steven Watts | @bboywattsy @newtlabsuk | newtlabs.co.uk

What’s new in WordPress 4.7

Page 6: What's new in WordPress 4.7

WordPress 4.7 adds new features to the customiser to help take site owners through the initial setup of a theme, with non-destructive live previews of all

changes in one interrupted workflow

Your Site, Your Way

Steven Watts | @bboywattsy @newtlabsuk | newtlabs.co.uk

What’s new in WordPress 4.7

Page 7: What's new in WordPress 4.7

Theme Starter Content

Steven Watts | @bboywattsy @newtlabsuk | newtlabs.co.uk

What’s new in WordPress 4.7

Page 8: What's new in WordPress 4.7

Edit Shortcuts

Steven Watts | @bboywattsy @newtlabsuk | newtlabs.co.uk

What’s new in WordPress 4.7

Page 9: What's new in WordPress 4.7

Video Headers

Steven Watts | @bboywattsy @newtlabsuk | newtlabs.co.uk

What’s new in WordPress 4.7

Page 10: What's new in WordPress 4.7

Smoother Menu Building

Steven Watts | @bboywattsy @newtlabsuk | newtlabs.co.uk

What’s new in WordPress 4.7

You can now add pages while building menus within the customiser instead of leaving the customiser and abandoning your changes.

Page 11: What's new in WordPress 4.7

Live Preview Custom CSS

Steven Watts | @bboywattsy @newtlabsuk | newtlabs.co.uk

What’s new in WordPress 4.7

If you just need a few visual tweaks, you can now add custom CSS and instantly see how your changes affect your site without having to refresh the page.

Page 12: What's new in WordPress 4.7

PDF Thumbnail Previews

Steven Watts | @bboywattsy @newtlabsuk | newtlabs.co.uk

What’s new in WordPress 4.7

Uploading PDFs to the media library will now generate thumbnail imagesso you can easily distinguish between all your documents.

Page 13: What's new in WordPress 4.7

Dashboard Languages

Steven Watts | @bboywattsy @newtlabsuk | newtlabs.co.uk

What’s new in WordPress 4.7

You can now add multiple languages to your dashboard and let your users set a preference via their user profile.

Page 14: What's new in WordPress 4.7

Steven Watts | @bboywattsy @newtlabsuk | newtlabs.co.uk

What’s new in WordPress 4.7

REST API Content Endpoints

Content endpoints provide machine-readable external access to your WordPress site paving the way for new methods of interacting with sites through plugins,

themes, apps and beyond.

Page 15: What's new in WordPress 4.7

Steven Watts | @bboywattsy @newtlabsuk | newtlabs.co.uk

What’s new in WordPress 4.7

Developer Happiness

WordPress has supported custom page templates for over 12 years, allowing developers to create various layouts for specific pages.

By opening up the page template functionality to all post types, theme developers have even more flexibility with the WordPress template hierarchy.

Post Type Templates

Page 16: What's new in WordPress 4.7

Steven Watts | @bboywattsy @newtlabsuk | newtlabs.co.uk

What’s new in WordPress 4.7

Developer Happiness

WordPress 4.7 includes new functions, hooks and behaviour for theme developers.

The get_theme_file_uri() Function, and Friends

The {$type}_template_hierarchy Filter

Simpler Template Names for Content with Non-ASCII Slugs

Theme API Goodies

Page 17: What's new in WordPress 4.7

Steven Watts | @bboywattsy @newtlabsuk | newtlabs.co.uk

What’s new in WordPress 4.7

Developer HappinessCustom Bulk Actions

Page 18: What's new in WordPress 4.7

Steven Watts | @bboywattsy @newtlabsuk | newtlabs.co.uk

What’s new in WordPress 4.7

Developer Happiness

The code that lies beneath actions and filters has been overhauled

and modernised, fixing bugs along the way.

If your plugin directly accesses the $wp_filter global rather than using the public hooks API, you might run into compatibility issues.

WP_Hook

Page 19: What's new in WordPress 4.7

Steven Watts | @bboywattsy @newtlabsuk | newtlabs.co.uk

What’s new in WordPress 4.7

Developer Happiness

Register_setting() has been enhanced to include type, description, and REST API visibility.

This is especially useful in the REST API, where WordPress needs to know the type of data your setting is.

Settings Registration API

Page 20: What's new in WordPress 4.7

Steven Watts | @bboywattsy @newtlabsuk | newtlabs.co.uk

What’s new in WordPress 4.7

Developer Happiness

Make changes in the customiser persistent, like autosave drafts.

These are what make new features like starter content possible.

Customise Changesets

Page 21: What's new in WordPress 4.7

Steven Watts | @bboywattsy @newtlabsuk | newtlabs.co.uk

What’s new in WordPress 4.7

WordPress automatically used file names as title and alt text for images.

Now it will leave the alt text field blank if a user does not make any changes to the title or alt text fields when uploading an image.

Accessible Alt Text for images

Page 22: What's new in WordPress 4.7

What’s new inWordPress 4.7

@newtlabsukfacebook.com/groups/wpquestions

Steven Watts | @bboywattsy @newtlabsuk | newtlabs.co.uk

What’s new in WordPress 4.7