The block.json file is a crucial element in the creation of native WordPress Gutenberg dynamic blocks as of WordPress 5.8 and older. This file is built to contain all the necessary metadata for a block, such as its name, category, and attributes. It also specifies the files that make up the block, including the JavaScript and CSS that define its behavior and appearance.
In this video tutorial, we walk through how to develop a WordPress dynamic Gutenberg block using the block.json file and the wp-scripts package.
This tutorial will give you a hands-on understanding of how the block.json file fits into the block development workflow, and how you can use it to create your own custom blocks for WordPress. The tutorial demonstrates how to modify the ClassName and Alignment properties as an example, with visuals.
VIDEO CHAPTERS
00:00 Recap & Challenge
02:08 Setup Files & Block dependencies
05:09 Dynamic Block Structure
08:06 ClassName Property in block.json
09:07 Align & AlignWide properties in block.json
09:58 Next steps
Get more examples of the JSON object that can be added/edited in the blocks.json file via https://omukiguy.com/using-the-block-...
Join this channel to get access to perks:
/ @techiepress
HOW TO SUPPORT THE CHANNEL
=============================================
Do you like what I am doing?
Buy me a coffee through https://www.buymeacoffee.com/techiepress
Give via PayPal: https://paypal.me/laurencebahiirwa
Visit https://omukiguy.com/support-my-work/
I am social too:
Facebook: / techiepress-100149655032583
Twitter: / omukiguy
Blog & Newsletter: https://omukiguy.com
Github: https://github.com/yttechiepress
-------------------------------------------------------------------------------
LEARN MORE IN THE WELL CURATED PLAYLISTS BELOW
--------------------------------------------------------------------------------
Learn how to build a plugin from scratch: • Plugins Vs Functions.php - Where shou...
WooCommerce E-Commerce customizations
== Build Free Custom E-commerce Online Shop using WooCommerce - • WooCommerce customizations - Free Wor...
== Build Free Custom Theme for E-commerce Online Shop using WooCommerce -
• Woocommerce Restaurant Shop - Custom ...
====== Build Dynamic Websites with Elementor ======
== Learn the Elementor basics - • Elementor Beginner Tutorials
== Build a custom Elementor Widget from Scratch - • Build Custom Elementor Widgets from s...
====== How to use WordPress Gutenberg Block Editor ======
WordPress 5.4 Gutenberg Blocks Updates
== • WordPress 5.4 Gutenberg Blocks Updates
WordPress Gutenberg blocks for Designers
== • WordPress Basics Training: Gutenberg ...
Gutenberg WordPress Block Editor tutorials for beginners
== • WordPress Basics Training: WordPress ...
Custom WooCommerce Gateway Development from Scratch
== • Build Custom WooCommerce Payment Gateway
WordPress Custom REST API Namespaces, Endpoints and Examples from Scratch
== • Create Custom WordPress REST API POST...
====== WordPress Plugin Development from Scratch ======
Build Most Popular & Most Commented Post Plugin
== • Build WordPress Most Popular & Most C...
Build SMS Plugin with External WordPress API Integration using custom WordPress Databases
== • Build SMS Plugin - External WordPress...
WordPress External APIs Integration Plugin Development
== • WordPress External APIs Integration P...
Convert WordPress to mobile App in Headless WordPress
== Convert WordPress Sports Website into Mobile Application - https://www.youtube.com/playlist?list...
Make GraphQL API endpoints with WordPress Headless CMS WPGraphQL Plugin
== • Make GraphQL API endpoints with WordP...
Customize Your WordPress & ClassicPress
== Build Custom REST API Endpoints with WordPress or ClassicPress - • Build Custom REST API Endpoints with ...
Custom Dashboard Widgets
== • Custom Dashboard Widgets WordPress & ...
Build Custom Admin
== • Custom Admin for WordPress or Classic...
Learn Git
== Git tutorial for writers + software developers for beginners - • Git tutorial for beginners - writers ...
Смотрите видео Creating Native Gutenberg Dynamic Blocks using the block.json schema онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь TechiePress 09 Январь 2023, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 2,363 раз и оно понравилось 45 людям.