Utvecklare av WordPress 4.4 började med full fart omedelbart efter lanseringen av WordPress 4.3. Vi har följt utvecklingen på nära håll och vi är glada att kunna rapportera att den förväntas släppas under andra veckan i december 2015. I den här artikeln kommer vi att visa dig vad som kommer i WordPress 4.4 med utvalda funktioner och screenshots.
Obs/observera: Du kan testa betaversionen på din dator eller i en staging-miljö genom att använda WordPress Beta Tester plugin.
Twenty Sixteen – Det nya standardtemat för WordPress
Sedan 2010 kommer WordPress med ett nytt standardtema för varje år. För att hålla fast vid denna tradition kommer WordPress 4.4 med ett nytt standardtema för 2016, anropat Twenty Sixteen.
Twenty Sixteen utvald den traditionella layouten för bloggar med en sidebar och ett content area. Designen fokuserar på läsbarhet och elegant display på alla devices.
Det kommer med fem färgscheman Standard, Mörk, Grå, Röd och Gul. Användare kan också välja sina egna färger för att skapa obegränsade färgscheman.
Den stöder customize rubriker, och har två menu locations en för site navigation och andra för sociala links.
Responsiva Images ut ur boxen
Användare kommer åt webben med hjälp av många olika typer av enheter med olika skärmstorlekar, upplösningar, pixeltäthet etc. Images med låg upplösning ser inte imponerande ut på enheter med större skärmar och bättre displayed. Detta tvingar ägare av webbplatser att använda images av bättre kvalitet, vilket ökar storleken på page och påverkar hastigheten på download.
WordPress kommer nu att tillhandahålla en bättre lösning för att ta itu med detta problem genom att visa responsiva images direkt ur boxen. Detta görs genom att använda srcset-attributet
. Detta attribut allow klientens webbläsare att visa en image baserat på enhetens capability.
srcset-attributet läggs till i farten och lagras ej i databasen. Detta innebär att alla images you previously added will benefit from this feature.
Alla bilder som läggs till i ett inlägg, utvalda bilder, bilagssidor och gallerier kommer att vara responsiva direkt från start. Detta kommer att förbättra hastigheten på pages och användarupplevelsen på webbplatser i WordPress.
Bättre embeds
WordPress-användare kan automatiskt embedda videoklipp, Tweets och Facebook statusuppdateringar genom att helt enkelt enter deras URL i ett inlägg. Denna utvalda funktion var dock limiterad till endast vissa webbplatser som var whitelistade av WordPress-projektet.
Med WordPress 4.4 kommer det att vara möjligt för you att add embeds från alla webbplatser som stöder oEmbed. Detta inkluderar också all WordPress webbplatser.
Om du addar en vanlig URL i ditt post från en annan WordPress site, så kommer den automatiskt att embedas.
Note: Båda webbplatserna bör använda WordPress 4.4 eller högre för att embeds ska fungera.
Om du tidigare använde ett plugin för att embedda WordPress links som content cards, kommer du ej att behöva dessa tillägg längre.
Funktioner för utvecklare
WordPress 4.4 kommer med massor av förbättringar och förändringar under huven. Utvecklare kommer att behöva justera koden i vissa av sina produkter.
WordPress REST API (fas 1)
Slutligen läggs den underliggande infrastrukturen för WordPress REST API plugin till i core med WordPress 4.4. REST API allow WordPress utvecklare att skapa nya API:er eller arbeta på de befintliga WordPress API:erna i sina egna applikationer. Med 4.4 kommer plugin-författare att kunna dra nytta av REST API genom att lägga till customize slutpunkter.
Meta data för taxonomi termer
Hanteringen av taxonomi termer har genomgått vissa förändringar sedan de senaste utgåvorna. Detta enter in i new stage med WordPress 4.4 som tar med taxonomi term meta data capability in core. Termer i taxonomier (gillar kategorier och taggar eller någon custom taxonomi) kan nu ha meta data associerade med dem. (#14162)
Sökningar efter comments
Comment sökningar kommer att delas upp för bättre och snabbare prestanda.(#8071, #32619)
Vi hoppas att den här artikeln gav dig en Preview av vad som kommer i WordPress 4.4. Låt oss veta vilka funktioner du tycker är spännande och vad du gillar att se i framtida versioner av WordPress.
Om du gillade den här artikeln, vänligen prenumerera på vår YouTube-kanal för WordPress video tutorials. Du hittar oss också på Twitter och Facebook.
ted nixon
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
How can I add featured image to WordPress 4.4 on android. Can’t seem to find the icon.
hannah
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
Well if it didn’t work before, upgrading to 4.4 would not likely fix upload permissions.
Mohammad Tahir
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
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
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
I agree! That is so past due!!! When are they every going to add this much needed feature!?!
Jesse
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
In other words, more bloatware to support cell phones and higher res ”pretty pictures”. Sigh.
Shane Hudson
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
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
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
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
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
What changes will the new srcset feature require for theme developers?
Luke
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
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
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
*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
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
Thanks for your feedback. We will try to cover it soon.
Administratör
Dave Warfel
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
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
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.
Administratör