Exploring the Block Themes in WordPress 6.5: a introduction for Novice and Pro:
WordPress 6.5 was announced here! severll weeks aglo: This is the first big update of the year 2024 and a particularly exciting one.
It is packed with new features, loads of bug fixes, and improvements that will make your website management and content creation even better.
We will walk you through some of the major highlights of WordPress 6.5 with screenshots and details so that you can learn how to use these new features.
see a runndown on the topic: https://www.wpbeginner.com/news/whats-n ... press-6-5/
Exploring the Block Hooks API in WordPress 6.5
https://developer.wordpress.org/news/20 ... press-6-5/
By Nick Diego March 25, 2024 Advanced, Blocks, Themes
Introduced in WordPress 6.4, the Block Hooks API is an extensibility mechanism that allows you to dynamically insert blocks into block themes. For example, a plugin could add an eCommerce shopping cart block to a site’s primary navigation menu without requiring users to add it themselves.
The API was designed to emulate hooks and filters you might have used to extend classic themes but with a few key differences.
As the name suggests, you can only insert blocks with the Block Hooks API and only in templates, template parts, and patterns.
The API works holistically with site editing. While front-end insertion happens automatically when a block is hooked, the user has the ultimate control. In the Site Editor, they can keep, remove, customize, or move the block, and those changes will be reflected on the front end.
WordPress 6.5 extends the API with many new community-requested features. You can insert blocks into navigation menus and user-modified templates, template parts, and patterns. Two new filters allow you to customize an inserted block’s attributes. Statically rendered blocks are now supported, and so much more.
Through multiple practical examples, this article provides a comprehensive overview of how you can leverage Block Hooks API in your projects. Let’s get started.
more insights - more background -
What’s New in WordPress 6.5 (Features and Screenshots): https://www.wpbeginner.com/news/whats-n ... press-6-5/
WordPress-Theming: https://kinsta.com/wordpress/
Wordpress-Theme-Tutorials: https://wptavern.com/category/development
custom-fields in WP-theme: https://haurand.com/custom-fields-twent ... -template/