Exploring 3 new features in WordPress 6.1 | WordPress tutorial | Gutenberg | WP 6.1

preview_player
Показать описание


00:00 Intro
01:42 Query Loop block variations
41:02 Block based template parts in Classic themes
55:50 Create Block Theme plugin

References:

#gutenberg #wordpresstutorial #wordpress #wordpress6.1 #featurereview #blockvariations #themedevelopment #
Рекомендации по теме
Комментарии
Автор

Ryan - You are a real hero 🌹🌹 - Awesome job bro.👍 ❤🔥

martinkaspar
Автор

Interesting steps. Did like the loop settings. I hope they can add more WP query logic to it as I need to query on custom field. Then show custom fields.
Only more native way not fully custom I’ve found to try is to bring in logic in php as a Pattern as you can then have php in your html blocks Layout to generate it.

TristanBailey
Автор

Hi Ryan, my block relies on jQuery front-end logic, but for some reason, jQuery is not loaded on my front-end. I found it quite weird since WordPress relies on jQuery and should load it by default, but not in my case. I guess that's because of my FSE theme. Do you know anything about this bug and how to fix it? I tried to enqueue jQuery manually in my block PHP logic using wp_enqueue_script( 'jquery' ), but it just looks and feels so unnatural.

alexandersamokhin
Автор

So is the render property in block.json an alternative way to write Gutenberg Block using PHP instead of React?

Shuyinz