What is happening in the Twenty Twenty-Three theme, and how do I figure it out?

[ad_1]

Going to begin this question by prefacing that it has at least been a year or two since I’ve worked significantly with WordPress. Much of my work at that time consisted of building bespoke WordPress themes for clients (e.g the traditional PHP way).

Recently, I started working on a personal project and chose to use Gutenberg to build out the site. After forking the Twenty Twenty-Three, it quickly became apparent the entire theme structure is different. Theme.json seems to function similarly to functions.php for the front-end templates and parts. That makes sense. But what is confusing me are the templates & parts. The HTML has generic classes and inline comments which are, I’m assuming, interjecting CSS and assigning attributes to the HTML markup in the browser. I’ve tried removing the default top padding from the content wrapping div without having to forcibly override the CSS, but to no avail…

Are there any good resources out there for learning how to build a WordPress theme the “modern” way? Is there a list of properties available for use in their internal HTML markup? Haven’t been able to find anything on the WordPress Codex

[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