WordPress 4.4の開発は、WordPress 4.3のリリース直後から本格的にスタートしました。私たちはその開発者に密着し、2015年12月の第2週にリリースされる見込みであることをご報告できることを嬉しく思います。この投稿では、WordPress 4.4の機能とスクリーンショットをお見せします。
注:WordPress Beta Testerプラグインを使えば、コンピューターや ステージング環境でベータ版を試すことができます。
Twenty Sixteen – 新規初期設定WordPressテーマ
2010年以来、WordPressには毎年新しいデフォルトテーマが用意されている。この伝統を守りながら、WordPress 4.4には2016年の新しいデフォルトテーマ「Twenty Sixteen」が用意されている。
Twenty Sixteenは、サイドバーとコンテンツエリアを備えた伝統的なブログレイアウトを特徴としている。デザインは、読みやすさとすべての端末でのエレガントな表示に重点を置いている。
初期設定、ダーク、グレー、レッド、イエローの5つの配色が用意されています。ユーザーは無制限の配色を作成するために独自の色を選択することもできます。
カスタムヘッダーをサポートし、サイトナビゲーション用とソーシャルリンク用の2つのメニューがあります。
すぐに使えるレスポンシブ画像
ユーザーは、画面サイズ、解像度、ピクセル密度などが異なるさまざまな端末を使ってウェブにアクセスします。低解像度の画像は、より大きな画面や優れたディスプレイを持つ端末では印象が悪く見えます。そのため、サイトオーナーはより質の高い画像を使用せざるを得なくなり、ページサイズが大きくなり、ダウンロード速度にも影響します。
WordPressは、レスポンシブ画像をすぐに表示することで、この問題に対処するためのより良いソリューションを提供します。これは、srcset
属性を使用することで実現します。この属性によって、クライアントのブラウザーは端末の能力に応じて画像を表示できるようになります。
srcset属性はその場で追加され、データベースには保存されません。つまり、以前に追加した画像はすべてこの機能の恩恵を受けることができます。
投稿、おすすめ画像、添付ファイルページ、画像ギャラリーに追加された画像はすべて、すぐにレスポンシブに対応します。これにより、WordPressサイトのページ速度とユーザーエクスペリエンスが大幅に向上します。
より良い埋め込み
WordPressユーザーは、投稿にURLを入力するだけで、動画、ツイート、Facebookステータス更新を自動的に埋め込むことができる。しかし、この機能はWordPressプロジェクトによってホワイトリストに登録された一部のサイトのみに限定されていた。
WordPress 4.4では、oEmbedをサポートしているサイトであれば、どのサイトからでも埋め込みを追加できるようになります。これはすべてのWordPressサイトを含みます。
他のWordPressサイトからプレーンなURLを投稿に追加すると、自動的に埋め込まれます。
注:埋め込みが機能するためには、両方のサイトがWordPress 4.4以上を使用している必要があります。
WordPressのリンクをコンテンツカードとして埋め込むためにプラグインを使用していた場合、それらのプラグインは必要なくなります。
開発者向け機能
WordPress 4.4では、多くの改良と変更が行われます。開発者はいくつかの製品でコードを調整する必要があります。
WordPress REST API (フェーズ 1)
最終的に、WordPress REST APIプラグインの基盤となるインフラがWordPress 4.4でコアに追加されます。REST APIにより、WordPress開発者は新しいAPIを作成したり、既存のWordPress APIを使用して独自のアプリケーションを作成したりすることができます。4.4では、プラグイン投稿者はカスタムエンドポイントを追加することで、REST APIを利用できるようになります。
タクソノミー用語のメタ情報
タクソノミータームの管理は、ここ数回のリリースでいくつかの変更を経てきました。WordPress 4.4では、タクソノミータームのメタデータ機能がコアに導入され、新たな段階に入りました。タクソノミー(カテゴリーやタグ、カスタマイザーのタクソノミーなど)のキーワードにメタ情報を関連付けることができるようになりました。(#14162)
コメントするクエリー
コメントするクエリーが分割され、パフォーマンスが向上し高速化されました。(#8071,#32619)
この投稿で、WordPress 4.4で実装される機能のプレビューをご覧いただけたと思います。今後のWordPressのリリースで、どのような機能が追加されるのか、またどのような機能が追加されることを望んでいるのか、ぜひお聞かせください。
この投稿が気に入ったら、WordPressの動画チュートリアルをYouTubeチャンネルに登録してください。Twitterや Facebookでもご覧いただけます。
Syed Balkhi says
Hey WPBeginner readers,
Did you know you can win exciting prizes by commenting on WPBeginner?
Every month, our top blog commenters will win HUGE rewards, including premium WordPress plugin licenses and cash prizes.
You can get more details about the contest from here.
Start sharing your thoughts below to stand a chance to win!
ted nixon says
Would desperately like to see WordPress add the ability to copy a previous post. This would make my life sooo much easier.
TN
Roland Success says
How can I add featured image to WordPress 4.4 on android. Can’t seem to find the icon.
hannah says
Even I update to the version wp4.4, still I am having HTTP error when uploading a image. Please assist me! Thanks in advance
Luke says
Well if it didn’t work before, upgrading to 4.4 would not likely fix upload permissions.
Mohammad Tahir says
I love new twenty sixteen and fully responsive navigation menu, it works great specially multilevel drop down menus. But i didn’t like a lot of padding and margin around header, I have created a twenty sixteen child theme but i will have to wait WordPress version 4.4. I can’t use it right now.
Rick says
Possibly a bit off topic but it would be great if WP could include a lightbox style image view as standard without having to resort to plugins to do it.
Digitalfront says
Speaking of media in WP, I wonder if there will ever come a day that the media manager will be made so that you can organise images into folders?
Gavin says
I agree! That is so past due!!! When are they every going to add this much needed feature!?!
Jesse says
There’s actually a plugin which let’s you ‘categorise’ media : Enhanced Media Library.
There are others which let you create subdirectories and stuff, but this seemed like the easiest, most sensible way to achieve some sort of organisation.
jim says
In other words, more bloatware to support cell phones and higher res “pretty pictures”. Sigh.
Shane Hudson says
Quite the opposite really. Currently phones download massive files, this allows phones to download far smaller files. So while it may be a tiny bit more code, it will save user’s a lot of bandwidth.
Luke says
Are you kidding? If you look at the code the “bloat” should be one query per post to get the images’ metadata, and then it can output the srcset for specific images at specific resolutions, thus saving users time (and money) when downloading from blogs with images.
If themes do this correctly hopefully 2+mb images downloading for even a tiny image that is “full resolution” will be a thing of the past.
Joel says
These are great changes, especially serving smaller images responsively and automagically.
However, I think there is an increasing need for a toggle on the admin side between “advanced”/normal admin area versus a simplified interface which would satisfy most common demands for most users (beyond limiting user permissions). Awaiting that development, which I hope is in the works.
Why? We just completed a massive, state-wide project to offer WordPress websites to all small businesses, absolutely free, over a two year period. It was supported at the federal, state, and local levels. Free helps with setup, free configuration for most users, free personal support, free this, free that, free, free.
And basically, it was a massive failure.
Why? Primarily, due to the “overwhelming complexity” of WordPress, as far as the vast majority of small business owners go.
The complexity led to what they saw as a steep learning curve, and huge amounts of time wasted (again, as they saw it).
So, we simplified the admin side via plugins; still a no-go. Things are getting worse with the added flexibilities/complexities of 12+ pages of theme-options and/or plugin-settings areas.
WordPress grew primarily because it was simple to use. It has completely lost that simplicity. How simple should it become? Facebook simple. Twitter simple. THAT simple. (Step 1: Throw out the difference between capital-P Pages and posts, argh.).
Right now, WordPress needs to simplify further or become what it was designed to avoid.
Steve Covello says
I’m sympathetic to the problem your statewide program encountered (as a WP developer for small businesses). However, several clues emerge in your post that show some pretty naive administrative assumptions. Clearly, there was no pilot test implemented that would have informed the program directors that this would be a problem before it was released statewide. DUH! Any WP developer knows that most “newbs” cannot make any use of the full menu options. Second, it appears that there was no calculation of the administrative time needed for follow-up and upkeep.
WP will never be Fb easy. It is a platform — not an application. To use WP well, the user must apply him or herself to understanding it as tool for promoting a certain goal (marketing, self-promotion, e-commerce, whatever). If you buy a computer, you have to learn how to use it. If you “buy” a free website, you have to learn how to use it.
Blaming WordPress for not being Facebook is like blaming a cat for not being a dog.
Mark Kaplun says
This sounds like a badly specified project with not enough budget because “everything wordpress is free”. Every seasoned wordpress developer should know that simplifying the admin for the end user is the most important part of the development, and for that you need to know what are the actual “must have” needs instead of giving 1000 options.
Preston says
What changes will the new srcset feature require for theme developers?
Luke says
Looks like the main thing is to make sure you provide a ‘wp_calculate_image_sizes’ filter for the image sizes attribute, like the wp 2016 theme does:
Martin Fuller says
Hmmm. One of the things which the literature tells us to do is to to optimise the images for the web including a resolution of 72 dpi.
The change in WordPress suggests that higher resolution images will be shown at the higher resolution level depending on the viewers screen.
Many of us will be aware of the Retina Ready approach which I have avoided for a variety of reasons including an increase in technical complications.
The question in my mind is what resolution should we now use for our images. If you use double the dpi i.e. 144 dpi the loading time is the square of the increase i.e. it takes 4 times as long to load. The maths is 72 x 72 = 5,184 but 144 x 144 = 20,736
The question in my mind is what and how will WordPress 4.4 deal with this issue?
Any thoughts?
Michael says
DPI (or more technically, PPI—pixels per inch) has long been an abstraction for web development. It has been a decade or more since 72 ppi represented a reasonable average. The standard Apple displays have been 100 ppi for decades, and the new Retina is now around 200 ppi.
On top of that, it doesn’t really matter what you set the DPI/PPI setting to. What really matters is the actual number of pixels in the image, or what you specify as the image width and height in the HTML. You could make your images 2 dpi or 2000 dpi, and if the pixel width and height were still 1600 x 900 pixels, and/or if the HTML display setting was 1600 x 900, it would appear identical to the same image at 72 dpi.
Michael says
*Footnote: I had to double-check, and it appears the original Apple Cinema Displays were released in 1999, so I shouldn’t have said “decades”. “Fifteen years or so” would have been more accurate.
Tom says
Nice recap, thanks for sharing. A great post worth thinking about would be examples of how to us the WordPress API. I have been searching online for some tutorial and no one has really be example to explain it well, how to use it, examples of usage, etc. Just an idea
WPBeginner Support says
Thanks for your feedback. We will try to cover it soon.
管理者
Dave Warfel says
Tom,
A few resources you might want to explore…
Jack Lenox has a 50-minute tutorial on building themes with the API.
Also, CSS-Tricks has a simple example of how to fetch posts.
Marcus Fant says
For the responsive images, does that provide an opportunity to lighten the load and get rid of some plugins that do the same, now that it will be built into WordPress?
WPBeginner Support says
Yes it will. If you were using a plugin solely for the purpose of responsive images, then you will not need it. However, many plugins offer other features too like lightbox popups, modals, responsive image slideshows, and so on. You will have to evaluate and then make a decision.
管理者