WordPress 5.8 Tatum Was Released – 3 Awesome Features

WordPress 5.8 Tatum Was Released – 3 Awesome Features
WordPress 5.8 Tatum Was Released – 3 Awesome Features

WordPress 5.8 Tatum 🎷

On July 20, 2021, WordPress 5.8 Tatum was released. This version is named after a famous jazz singer, Art Tatum. WordPress 5.8 brings new exciting features: A new Template Editor, Block-based Widgets feature and, maybe the most expected feature (at least by me), WebP Images.

Who was Art Tatum?

Art Tatum (Arthur Tatum Jr.) was one of the greatest American jazz pianists. He was among the most extraordinary of all jazz musicians, a pianist with wondrous technique who could not only play ridiculously rapid lines with both hands, but was harmonically 30 years ahead of his time; all pianists have to deal to a certain extent with Tatum’s innovations in order to be taken seriously. Able to play stride, swing, and boogie-woogie with speed and complexity that could only previously be imagined, Tatum’s quick reflexes and boundless imagination kept his improvisations filled with fresh (and sometimes futuristic) ideas that put him way ahead of his contemporaries.

Art Tatum WordPress 5.8
Art Tatum WordPress 5.8

Tatum was really known for the way that he explored harmonic complexities and unusual chord progressions. When improvising, Tatum would often insert totally new chord sequences (occasionally with a chord on each beat) into one or two measures. He also developed the habit of quoting from other melodies, something that became a standard practice among modern jazz musicians. What really set Tatum apart was his amazing technical abilities which combined with his willingness to explore the imagined limitations of the orthodox keyboard which produced astonishing rhythmic and harmonic complexities.

Art Tatum Piano Jazz Music
Art Tatum Piano Jazz Music

That’s said, let’s see some of the new WordPress 5.8 features.


I. WordPress 5.8 Template Editor

The new Template Editor is a special mode accessible in the post editor that allows you to create, reserve, and edit block templates for a specific post or page. Basically, you can edit the entire interface of the page, from the header to the footer. Want to edit the navigation menu? No problem. You don’t have to access the Appearance -> Menus. You simply hover the navigation section from the page, click edit and…that’s it.

How To Enable Template Editor in WordPress 5.8?

By default, this feature is disabled for themes. To enable the Template Editor feature, you have to add the following line into the Functions.php file. Attention! Editing the Functions.php file may crash your entire website. Do a full backup before!

add_theme_support( 'block-templates' );


II. WordPress 5.8 Block-based Widgets

Another great feature is the Block-based Widgets. Now you will have more options to insert into the sidebar or into the footer of your site. Also, from WP 5.8, you will create and edit widgets in the same way as you will create new post or pages. In my opinion, this is a great thing.

How To Restore The Classic Widgets in WordPress 5.8?

The Block-based Widgets option is enabled by default in WordPress 5.8. To restore the old way of creating or editing the widgets, you have a few alternatives:

1. Restore classic widgets by using remove_theme_support:

Themes may disable the Widgets Block Editor by calling remove_theme_support( ‘widgets-block-editor’ ).

For example, a theme may have the following PHP code in functions.php.

function example_theme_support() {
remove_theme_support( 'widgets-block-editor' );
}
add_action( 'after_setup_theme', 'example_theme_support' );

2. Restore classic widgets by using a filter:

the use_widgets_block_editor filter controls whether or not the Widgets Block Editor is enabled.

For example, a site administrator may include the following PHP code in a mu-plugin to disable the Widgets Block Editor.

add_filter( 'use_widgets_block_editor', '__return_false' );

For more advanced uses, you may supply your own function. In this example, the Widgets Block Editor is disabled for a specific user.

function example_use_widgets_block_editor( $use_widgets_block_editor ) {
if ( 123 === get_current_user_id() ) {
return false;
}
return $use_widgets_block_editor;
}
add_filter( 'use_widgets_block_editor', 'example_use_widgets_block_editor' );

3. Restore classic widgets by using a simple plugin

You can disable the Widgets Block Editor by installing and activating the Classic Widgets plugin. I am not a fan of using too many plugins, but if you cannot handle the steps 1 and 2 from above, this is the best alternative.


III. (My favorite) WordPress 5.8 Support WebP Images

Have you heard about .jpeg? What about .jpg? What about .png? Well, WebP is another image extension, but a great one, due to the lossy compression.

With WebP, you can save around 30% of the size of that image, and maintaining the quality of it. Is this important for my site? Yes! With the last Google Core Web Vitals update, your site must be very light, in order to achieve the best performance results. By using WebP, your site will use optimized images. Unfortunately, there are still some issues rendering the WebP with Safari (iOS) browsers, so you may twink twice before implementing this feature.

Why is my favorite? Because before WordPress 5.8, you had to use a plugin to load this type of image extension, because was unsupported by WordPress. From the 5.8 version, you can upload WebP images directly on your WordPress Image Library, without too many hassle. So, yeah: Awesome feature!


Finally, I want to add some good music, created by the great Art Tatum. You can put it in background while you are playing with the new WordPress 5.8:

Art Tatum – Tea for Two

Art Tatum – Tiger Rag

Art Tatum – Begin the Beguine

Art Tatum – Night and Day

Previous Post
[SOLVED] WooCommerce Mini Cart niet bijwerken
Next Post
[SOLVED] Your Cart Is Currently Empty Error – WooCommerce

WordPress 5.8 Tatum is vrijgegeven – 3 geweldige functies

WordPress 5.8 Tatum Was Released – 3 Awesome Features
WordPress 5.8 Tatum Was Released – 3 Awesome Features

WordPress 5.8 Tatum 🎷

Op 20 juli 2021 werd WordPress 5.8 Tatum uitgebracht. Deze versie is vernoemd naar een beroemde jazz zanger, Art Tatum. WordPress 5.8 brengt nieuwe spannende functies: Een nieuwe Template Editor, Block-based Widgets functie en, misschien wel de meest verwachte functie (in ieder geval door mij), WebP Images.

Wie was Art Tatum?

Art Tatum (Arthur Tatum Jr.) was een van de grootste Amerikaanse jazzpianisten. Hij was een van de meest buitengewone van alle jazzmusici, een pianist met wonderbaarlijke techniek die niet alleen belachelijk snelle lijnen met beide handen kon spelen, maar ook harmonisch zijn tijd 30 jaar vooruit was; alle pianisten moeten tot op zekere hoogte met Tatum’s innovaties omgaan om serieus te worden genomen. In staat om stride, swing en boogie-woogie te spelen met een snelheid en complexiteit die voorheen alleen denkbaar waren, Tatum’s snelle reflexen en grenzeloze verbeelding hielden zijn improvisaties gevuld met frisse (en soms futuristische) ideeën die hem ver vooruit zetten op zijn tijdgenoten.

Art Tatum WordPress 5.8
Art Tatum WordPress 5.8

Tatum was echt bekend om de manier waarop hij harmonische complexiteiten en ongebruikelijke akkoord progressies verkende. Bij het improviseren, zou Tatum vaak totaal nieuwe akkoord reeksen invoegen (soms met een akkoord op elke beat) in een of twee maatregelen. Hij ontwikkelde ook de gewoonte om uit andere melodieën te citeren, iets dat een standaardpraktijk werd onder moderne jazzmusici. Wat Tatum echt onderscheidde was zijn verbazingwekkende technische vaardigheden, die in combinatie met zijn bereidheid om de denkbeeldige beperkingen van het orthodoxe toetsenbord te verkennen, verbazingwekkende ritmische en harmonische complexiteiten opleverde.

Art Tatum Piano Jazz Music
Art Tatum Piano Jazz Music

Dat gezegd hebbende, laten we eens kijken naar enkele van de nieuwe WordPress 5.8 functies.


I. WordPress 5.8 Sjablooneditor

De nieuwe sjablooneditor is een speciale modus die toegankelijk is in de posteditor en waarmee u bloksjablonen voor een specifieke post of pagina kunt maken, reserveren en bewerken. In principe kun je de hele interface van de pagina bewerken, van de header tot de footer. Wil je het navigatiemenu bewerken? Geen probleem. Je hoeft niet naar Uiterlijk -> Menu’s te gaan. Je gaat gewoon met de muis over het navigatiegedeelte van de pagina, klikt op bewerken en…dat is het.

Hoe de sjablooneditor inschakelen in WordPress 5.8?

Standaard is deze functie uitgeschakeld voor thema’s. Om de Template Editor functie in te schakelen, moet u de volgende regel toevoegen aan het Functions.php bestand. Opgelet! Het wijzigen van het Functions.php bestand kan uw hele website laten crashen. Maak eerst een volledige backup!

add_theme_support( 'block-templates' );


II. WordPress 5.8 Blok-gebaseerde Widgets

Een andere geweldige functie is de blokgebaseerde Widgets. Nu heb je meer opties om in de zijbalk of in de voettekst van je site te plaatsen. Vanaf WordPress 5.8 kun je widgets op dezelfde manier maken en bewerken als je nieuwe berichten of pagina’s maakt. Naar mijn mening, is dit een geweldig ding.

Hoe De Klassieke Widgets Herstellen in WordPress 5.8?

De Blokgebaseerde Widgets optie is standaard ingeschakeld in WordPress 5.8. Om de oude manier van widgets maken of bewerken te herstellen, heb je een paar alternatieven:

1. Herstel klassieke widgets door remove_theme_support te gebruiken:

Thema’s kunnen de Widgets Block Editor uitschakelen door remove_theme_support( ‘widgets-block-editor’ ) aan te roepen.

Een thema kan bijvoorbeeld de volgende PHP code in functions.php hebben.

function example_theme_support() {
remove_theme_support( 'widgets-block-editor' );
}
add_action( 'after_setup_theme', 'example_theme_support' );

2. Herstel klassieke widgets door een filter te gebruiken:

Het use_widgets_block_editor filter regelt of de Widgets Block Editor aan staat of niet.

Een sitebeheerder kan bijvoorbeeld de volgende PHP-code in een mu-plugin opnemen om de Widgets Block Editor uit te schakelen.

add_filter( 'use_widgets_block_editor', '__return_false' );

Voor meer geavanceerde toepassingen kunt u uw eigen functie leveren. In dit voorbeeld wordt de Widgets Block Editor uitgeschakeld voor een specifieke gebruiker.

function example_use_widgets_block_editor( $use_widgets_block_editor ) {
if ( 123 === get_current_user_id() ) {
return false;
}
return $use_widgets_block_editor;
}
add_filter( 'use_widgets_block_editor', 'example_use_widgets_block_editor' );

3. Herstel klassieke widgets met behulp van een eenvoudige plugin

Je kunt de Widgets Block Editor uitschakelen door de Classic Widgets plugin te installeren en te activeren. Ik ben geen fan van het gebruik van te veel plugins, maar als je de stappen 1 en 2 van hierboven niet aankunt, is dit het beste alternatief.


III. (Mijn favoriet) WordPress 5.8 ondersteunt WebP afbeeldingen

Heb je gehoord van .jpeg? Hoe zit het met .jpg? Hoe zit het met .png? Nou, WebP is een andere afbeeldingsextensie, maar een geweldige, vanwege de verlieslatende compressie.

Met WebP, kunt u ongeveer 30% van de grootte van die afbeelding besparen, en de kwaliteit ervan behouden. Is dit belangrijk voor mijn site? Ja! Met de laatste Google Core Web Vitals update, moet uw site zeer licht zijn, om de beste prestatie resultaten te bereiken. Door WebP te gebruiken, zal uw site geoptimaliseerde afbeeldingen gebruiken. Helaas zijn er nog wat problemen met het renderen van WebP met Safari (iOS) browsers, dus u kunt twee keer twinkelen voordat u deze functie implementeert.

Waarom is dit mijn favoriet? Omdat vóór WordPress 5.8, je een plugin moest gebruiken om dit type afbeelding extensie te laden, omdat werd niet ondersteund door WordPress. Vanaf de 5.8 versie, kun je WebP afbeeldingen direct uploaden in je WordPress Afbeeldingsbibliotheek, zonder al te veel gedoe. Dus, ja: geweldige functie!


Tenslotte wil ik nog wat goede muziek toevoegen, gemaakt door de grote Art Tatum. Je kunt het op de achtergrond zetten terwijl je speelt met de nieuwe WordPress 5.8:

Art Tatum – Tea for Two

Art Tatum – Tiger Rag

Art Tatum – Begin the Beguine

Art Tatum – Night and Day

Previous Post
[SOLVED] WooCommerce Mini Cart niet bijwerken
Next Post
[SOLVED] Your Cart Is Currently Empty Error – WooCommerce