Title: Header.php&#8217;s path
Last modified: March 5, 2024

---

# Header.php’s path

 *  [merecol](https://wordpress.org/support/users/merecol/)
 * (@merecol)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/header-phps-path/)
 * hi guys:)i am wondering where Is the header.php file to copy It in my child theme
   and modify It.Thanks in advance

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [nheels](https://wordpress.org/support/users/nheels/)
 * (@nheels)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/header-phps-path/#post-17477396)
 * bump.
   There doesn’t seem to be much info out there on how to create a child theme
   for the wordpress 2024 theme….?thank you.
 *  [George Appiah](https://wordpress.org/support/users/gappiah/)
 * (@gappiah)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/header-phps-path/#post-17477818)
 * 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://wordpress.org/plugins/create-block-theme/](https://wordpress.org/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.wordpress.org/lesson-plan/create-a-basic-child-theme-for-block-themes/](https://learn.wordpress.org/lesson-plan/create-a-basic-child-theme-for-block-themes/)
 * Plus the standard developer documentation: [https://developer.wordpress.org/themes/advanced-topics/child-themes/](https://developer.wordpress.org/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.wordpress.org/themes/core-concepts/theme-structure/](https://developer.wordpress.org/themes/core-concepts/theme-structure/)
 * Good luck!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Header.php’s path’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/twentytwentyfour/1.5/screenshot.
   png)
 * Twenty Twenty-Four
 * [Support Threads](https://wordpress.org/support/theme/twentytwentyfour/)
 * [Active Topics](https://wordpress.org/support/theme/twentytwentyfour/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/twentytwentyfour/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/twentytwentyfour/reviews/)

## Tags

 * [child](https://wordpress.org/support/topic-tag/child/)
 * [file](https://wordpress.org/support/topic-tag/file/)
 * [header](https://wordpress.org/support/topic-tag/header/)
 * [WordPress](https://wordpress.org/support/topic-tag/wordpress/)

 * 2 replies
 * 3 participants
 * Last reply from: [George Appiah](https://wordpress.org/support/users/gappiah/)
 * Last activity: [2 years, 2 months ago](https://wordpress.org/support/topic/header-phps-path/#post-17477818)
 * Status: not resolved