Seeking Guidance on Theme.json, ACF Blocks, and Layout Structure Integration

[ad_1]

I have a custom theme that incorporates ACF blocks and some core blocks using my custom plugin. Recently, I explored the new twentytwentyfour theme and discovered some exciting features. Motivated by this, I began integrating elements into my own theme to leverage the benefits of the new site editor and explore the use of templates through HTML files with parts and patterns.

While working on this, I noticed the prevalence of layout types such as ‘constrained’ and ‘default’ in the theme.json file of twentytwentyfour. However, I am eager to gain a deeper understanding of how these layout options function within theme.json. Unfortunately, I haven’t come across a comprehensive tutorial that explains this aspect thoroughly.

Moreover, I have recently removed Bootstrap 5 from my theme, and I am keen on relying solely on the theme.json file for layout and styling. Despite these efforts, when attempting to set my ACF block to full-width in the Gutenberg editor, it doesn’t seem to work as expected. Could you guide me to a reliable tutorial that covers these topics comprehensively? I am particularly interested in learning how to establish a robust layout structure for my theme.

[ad_2]

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer