Trusted WordPress tutorials, when you need them most.
Beginner’s Guide to WordPress
WPB Cup
25 Million+
Websites using our plugins
16+
Years of WordPress experience
3000+
WordPress tutorials
by experts

Vad är nytt i WordPress 5.4 (funktioner och screenshots)

WordPress 5.4 släpptes tidigare idag, och det är den första stora releasen 2020.

Denna new release är fullpackad med många funktioner, många av dem är utvalda kring WordPress block editor. Denna release kommer att förbättra sättet du skapar content på dina websites.

I den här artikeln kommer vi att dela med oss av vad som är new i WordPress 5.4 och vilka funktioner du bör prova efter updating av dina websites.

What is new in WordPress 5.4

WordPress 5.4 är en större version, och om du inte har ett hanterat webbhotell för WordPress måste du initiera updating manuellt.

Import! Glöm inte att göra en komplett backup av WordPress innan du påbörjar updating.

Ny och förbättrad Block Editor i WordPress 5.4

WordPress 5.4 är inriktad på att förbättra Content Editor. Detta inkluderar nya funktioner, förbättringar och nya block.

Låt oss börja med förbättringarna först.

Fullscreen Editor kommer att vara standard i WordPress 5.4

WordPress 5.4 visar Block Editor i helskärmsläge som standard.

WordPress fullscreen editor

Denna förändring kommer att märkas på nya WordPress installationer, eller om du öppnar WordPress admin area från en ny device, webbläsare eller i inkognitoläge.

Om du uppgraderar från WordPress 5.3 med samma webbläsare och device som du använder regelbundet, kommer din editor att öppnas med det senaste läget som du hade aktiverat.

Du kan stänga av fullskärmsläget genom att clicka på Editor settings och avmarkera alternativet ”Fullskärmsläge”.

Turn off fullscreen mode in WordPress

Update: Om du vill inaktivera fullskärmsläget permanently, se vår tutorial om hur du inaktiverar fullskärms editor i WordPress.

New Blocks i WordPress 5.4

WordPress 5.4 ger dig två nya block som du kan använda när du skriver content.

1. Blocket Social Icons

Som namnet antyder tillåter blocket Social Icons dig att add to social media icons i dina posts och pages.

Social Icons block in WordPress 5.4

Därefter kan du klicka på knappen add och välja ett socialt nätverk som du gillar att lägga till. Du kan sedan klicka på ikonen för det sociala nätverket och ange länken till din profil.

Adding a social network

Social Icons block bara allow you to add social media icons with links to your profiles. Det lägger ej till sociala delningsknappar. För det behöver du fortfarande ett plugin för sociala medier med funktioner för delning.

2. Blocket Knappar

WordPress 5.4 introducerar blocket Buttons som kommer att ersätta blocket Button. Som du kan gissa från namnet på det nya blocket, tillåter det dig att lägga till flera knappar sida vid sida.

Buttons in WordPress 5.4

Du kan välja bakgrundsfärg eller gradientfärg för varje knapp och välja mellan två olika stilar.

Gradient buttons in WordPress 5.4

Förbättrade Block som du bör prova i WordPress 5.4

Flera block i WordPress 5.4 har förbättrats med new enhancements. Här är de bästa förändringarna som kommer att göra stor skillnad i din skrivupplevelse.

Fler färgalternativ för Block

WordPress 5.4 erbjuder new options för färgval för flera block. Detta allow you att skapa mer engagerande layouts för dina posts och pages.

Tidigare kunde användare bara ändra färgen på all text i ett stycke. Med WordPress 5.4 kan du nu ändra färgen på all text i ett block i ett stycke.

Change text color in a paragraph block

Du kan också välja text- och bakgrundsfärger med gradienter för cover-block, och du kan till och med välja bakgrunds- och textfärger för alla block i ett gruppblock.

Using background colors for all blocks in a group

Om du regelbundet använder blocket Columns kan du också använda färger för att separera kolumner från vanliga stycken.

Column colors in WordPress 5.4

Verktyg för att välja block

En new knapp i toolbaren allow you nu att enkelt select block. Detta är ett mycket användbart tools, viss när du har kapslade block inuti ett gruppblock.

Select block tool in WordPress 5.4

Klicka bara på select tool och för sedan musen till det block som du vill välja.

Selected block

Drag and drop för att lägga till featured image

Tidigare behövde du manuellt välja att uploada och ställa in den featured image. Detta matchade inte drag and drop-funktionen i content editor.

Nu med WordPress 5.4 kan du helt enkelt drag and drop en image till featured image section.

Drag and drop featured image

Bättre mobil toolbar för Block Editor

Tidigare, om du var tvungen att editera ett blogginlägg med hjälp av en mobil device, kanske du har notice hur toolbaren för blockinställningar flyttade runt.

Detta gjorde det ganska svårt att använda Editorn på mobila enheter. WordPress 5.4 har fixat detta med en fast toolbar högst upp.

Mobile toolbar in WordPress 5.4

Välj storlek på images i blocket Gallery

Tidigare kunde du ej välja bildstorlek för images i blocket för gallerier. Nu kan du välja bildstorlek direkt i inställningarna för blocket gallery.

Gallery image sizes

Förbättrat block för senaste posterna

Tidigare innehöll blocket Senaste inlägg inte de utvalda bilderna. Du kan också välja storlek och justering för den featured image. Detta gör blocket Senaste inlägg mycket mer engagerande och användbart.

Latest Posts block

Du kan nu embedda TikTok videoklipp i WordPress

WordPress 5.4 innehåller oEmbed support för TikTok videoklipp. I grund och botten kan du nu add TikTok videos till din WordPress posts och pages precis som du skulle embed YouTube videos.

TikTok embed in WordPress 5.4

Klistra bara in URL:en till videoklippet så embedar WordPress det automatiskt.

Updated Privacy Tools i WordPress 5.4

WordPress 5.4 ger förbättringar av de built-in tools för integritet. Export av personuppgifter inkluderar nu session tokens, community events location, och customize användare meta.

Personal data export file

Export av personuppgifter kommer nu i två filer i HTML och JSON. HTML-filen innehåller en innehållsförteckning högst upp för enklare navigation.

Förändringar för utvecklare i WordPress 5.4

WordPress 5.4 har flera förbättringar för utvecklare. Dessa förbättringar påverkar främst utvecklare av teman och plugins.

New hooks in WordPress 5.4 allow developers to add custom fields to navigation menu items.(Detaljer)

Utvecklare kan nu add to tangentbordsgenvägar till block editor.(Detaljer)

WordPress 5.4 ändrar HTML-utdata för widgeten Kalender. Den flyttar links för navigation till ett <nav> HTML-element direkt efter <table>-elementet för att producera giltig HTML.(#39763)

En new apply_shortcodes( )-funktion är nu available som ett alias till do_shortcode( )-funktionen. (#37422)

Vissa oanvända klasser för customize är nu formellt deprecated i WordPress 5.4. (#42364)

Vi hoppas att den här guiden hjälpte dig att lära dig mer om vad som är new i WordPress 5.4. Vi är glada över de nya funktionerna och förbättringarna i block editor, viss färg alternativ och knappar block.

Vilken är din favoritfunktion i WordPress 5.4? Låt oss veta det i kommentarerna under.

Om du gillade den här artikeln, vänligen prenumerera på vår YouTube-kanal för WordPress video tutorials. Du kan också hitta oss på Twitter och Facebook.

Avslöjande: Vårt innehåll stöds av våra läsare. Det innebär att om du klickar på några av våra länkar, kan vi tjäna en provision. Se hur WPBeginner finansieras, varför det är viktigt, och hur du kan stödja oss. Här är vår editoriala process.

Avatar

Editorial Staff at WPBeginner is a team of WordPress experts led by Syed Balkhi with over 16 years of experience in WordPress, Web Hosting, eCommerce, SEO, and Marketing. Started in 2009, WPBeginner is now the largest free WordPress resource site in the industry and is often referred to as the Wikipedia for WordPress.

Den ultimata WordPress-verktygslådan

Få GRATIS tillgång till vår verktygslåda - en samling WordPress-relaterade produkter och resurser som varje professionell användare bör ha!

Reader Interactions

42 kommentarerLämna ett svar

  1. 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!

  2. Sunshiney says

    If you looked closely, you’ll see that the love comes from people who are designers or inexperienced or who do not code at all. The dislike is from those who build custom themes from scratch.

  3. Gabriel Cevales says

    thanks WPBeginner-Team for sharing this article with us!
    Your tipps are very helpful.
    Yours
    Gabriel

    • WPBeginner Support says

      There should be a pencil icon at the top of your editor that you can click to change to the block selection tool

      Administratör

  4. Jim O'Sullivan says

    We work a lot with WordPress sites, including our own, and we just can’t get used to the new block editor. The first plugin I ever install on a fresh WordPress site is Classic Editor!

    Is it just me, or did they change it too much too fast?

    • WPBeginner Support says

      The goal of the block editor was to update WordPress’ interface to be more up to date similar to other platforms. It is difficult to say if something was changed too fast but that is a strength of WordPress that users are able to install the classic editor :)

      Administratör

  5. Michael says

    Is it possible to open a new browser window when using the new Social Icons Block instead of navigating away from the current page? Thanks

    • WPBeginner Support says

      Not by default at the moment but we will keep our eyes out for a method or update :)

      Administratör

  6. Franklyn Fosu says

    Kindly corect the grammar errors in this sub-heading.
    (Improved Blocks Your Should Try in WordPress 5.4) should be ”Improved Blocks *YOU* Should Try…..”

  7. Toni Weidman says

    It seems to me that those of us who prefer using Classic Editor are being ignored or weeded out. Is there anything for us in this new release?

    • WPBeginner Support says

      The Classic editor is the previous editor for WordPress so there likely won’t be updates to it unless there is an update to the classic editor plugin. For those using the classic editor, the developer enhancements will indirectly assist and in the future, we hope you’ll give the block editor a chance :)

      Administratör

    • Sarah Böttger says

      At first, I had my problems, too with the block editor and I kept the classic editor with the plugin. I switched to the block editor shortly afterwards and I just rebiult my site with it and in my opinion it is so much better. It has more option, why it takes time to learn how to use it. I can recommend it. I was looking for years for a plugin to make blocks like posts-its, now you can build that.

    • WPBeginner Support says

      If you are using a different editor than the block editor you shouldn’t see much change unless there is an update to what you are using.

      Administratör

  8. David says

    Looks nice! I like both classic and block editor to be honest. Quick question: how necessary is it to backup databases before updating to 5.4? What plugin would you recommend?

    Thanks in advance, love your website:)

    David

  9. Pragati kumar sheel says

    That’s a significant move. Although I don’t use it frequently but I like the changes. Among all of them ”More Color Options for Blocks” was much needed. Bang we got it now.

  10. Ogbonnia Victor says

    I’m afraid of updating the new version cause I saw a warning that I should try and back up the files on my site but I don’t know how to back it up. Is there any alternative?

  11. zig says

    not bad at all. I think WP is moving the right direction despite the recent hate that they got for the block editor

    • WPBeginner Support says

      We hope you give the block editor another chance in the future as it gains new tools :)

      Administratör

    • Joseph Quinn says

      The block editor can take some time getting used to but it’s worth the effort. With blocks you can speed up development especially if have global content. You can save formatted blocks to use everywhere on your site and when you update one they all update saving you valuable time from editing every instance.

Lämna ett svar

Tack för att du väljer att lämna en kommentar. Tänk på att alla kommentarer modereras enligt våra policy för kommentarer, och din e-postadress kommer INTE att publiceras. Vänligen använd INTE nyckelord i namnfältet. Låt oss ha en personlig och meningsfull konversation.