TT4 is a pure block (aka FSE) theme. Block themes don’t use traditional PHP-based template files like header.php
.
But do you really need to create a child theme?
In most cases, you don’t need a child theme at all for block themes… as you can make most changes in the Site Editor without the need to write any code. These changes, like the old Customizer changes, are stored in the database and are not erased when the theme is updated.
If you could explain what exactly you’re trying to “modify”, we could advise you on how best to pull it off. For example: if your goal is to add to or change something in the HTML <head>
element, you’ll need to filter wp_head()
in your child theme’s functions.php
file.
There doesn’t seem to be much info out there on how to create a child theme for the wordpress 2024 theme….?
TT4 is nothing special here. What you really need is some background knowledge about how block themes work generally. And once you define the problem appropriately as creating a child theme for block themes, you’ll find a whole lot of resources available.
Here’s an official plugin for creating a new block theme or a child theme of another bloc theme: https://www.ads-software.com/plugins/create-block-theme/
If you prefer to do this manually, here’s an official mini-course that walks you through the process: https://learn.www.ads-software.com/lesson-plan/create-a-basic-child-theme-for-block-themes/
Plus the standard developer documentation: https://developer.www.ads-software.com/themes/advanced-topics/child-themes/
Of course, there are a million blog posts on the topic only a Google search away.
But note my earlier comment about having some background knowledge about block themes though: block themes are very different from traditional PHP-based themes. A quick run through the structure of a block theme might be useful: https://developer.www.ads-software.com/themes/core-concepts/theme-structure/
Good luck!