Title: Child Theme Problem
Last modified: November 15, 2024

---

# Child Theme Problem

 *  [tamnik](https://wordpress.org/support/users/tamnik/)
 * (@tamnik)
 * [1 year, 6 months ago](https://wordpress.org/support/topic/child-theme-problem-35/)
 * Child theme has problem with the Template parts. After creating, none of the 
   pages display a header or a footer or any other template parts. And in editor,
   block show message “Template part has been deleted or is unavailable: header/
   footer/etc.”
 * All Template parts need to be manual inserted again on all Templates.

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

 *  Thread Starter [tamnik](https://wordpress.org/support/users/tamnik/)
 * (@tamnik)
 * [1 year, 5 months ago](https://wordpress.org/support/topic/child-theme-problem-35/#post-18210429)
 * Create Block Theme does not create file function.php, and that is one of the 
   reasons why I use Child theme. This file should be added manually afterward.
   
   Overall, FSE Child theme needs theme.json, even so with that file, I occasionally
   had a problem.Plugin Create Block Theme creates a theme.json, and that is why
   you did not have a problem with Template parts.I will link Support Threads from
   Neve FSE. This theme also has the same problem.[https://wordpress.org/support/topic/child-theme-problem-33/](https://wordpress.org/support/topic/child-theme-problem-33/)“
   for PHP editing, it’s better to use a plugin.” well it’s not, but that’s not 
   the topic of this discussion.Through the Child theme, both PHP and CSS can be
   used directly from the file editor or with VS Code or similar software.
 *  Thread Starter [tamnik](https://wordpress.org/support/users/tamnik/)
 * (@tamnik)
 * [1 year, 2 months ago](https://wordpress.org/support/topic/child-theme-problem-35/#post-18397678)
 * As I mentioned above, some FSE themes have this problem. FSE is a relatively 
   new way of creating websites, so some bugs can be expected.
 * As for child themes and custom plugins, it all depends on what you need and what
   your goals are.
 * Just one thing to clarify, we are talking here about Custom plugin – NOT Code
   Snippet, but your own custom plugin. And I also do not recommend code snippet
   plugins. Well it is one more plugin, the problem here is not site speed, but 
   security.
   Have witnessed the problem with code snippet plugins multiple times.
 * A custom plugin is an easy way to add custom code to your website without getting
   into much technical detail.
   If you only want minor code changes, where you focus
   most on PHP, I guess custom plugin is okay.
 * But if you are comfortable with coding and want true power of code, child themes
   give more customization flexibility. Through Child Theme you can edit PHP, JS,
   JSON, CSS, it can be backup it and re-insert it on other sites (even if you use
   different themes).

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

The topic ‘Child Theme Problem’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/greenshift/2.6.5/screenshot.png)
 * Greenshift
 * [Support Threads](https://wordpress.org/support/theme/greenshift/)
 * [Active Topics](https://wordpress.org/support/theme/greenshift/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/greenshift/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/greenshift/reviews/)

 * 2 replies
 * 8 participants
 * Last reply from: [tamnik](https://wordpress.org/support/users/tamnik/)
 * Last activity: [1 year, 2 months ago](https://wordpress.org/support/topic/child-theme-problem-35/#post-18397678)
 * Status: not resolved