Ability to remove unnecessary Template Parts from core theme #39951
Labels
[Block] Template Part
Affects the Template Parts Block
[Type] Enhancement
A suggestion for improvement.
What problem does this address?
With FSE, per best of my knowledge, we are unable to remove unnecessary/unwanted template-parts comes with default theme (i.e. TwentyTwentyTwo).
Recently I developed a website on top of TwentyTwentyTwo theme. I wanted to customize some parts of default theme so I created a child theme of TwentyTwentyTwo and started working on it. At later stage, I noticed there are unused template-parts I no longer needed and I started looking into ways to remove those but I didn't find any solution except removing it directly from parent TwentyTwentyTwo theme.
What is your proposed solution?
Overriding "templateParts" in child theme's theme.json should reflect on the Editor > Template Parts and it should allow modifying/deleting Template Parts.
The text was updated successfully, but these errors were encountered: