Skip to content

Support Disabling the Duplication of Template Parts #64344

@MadtownLems

Description

@MadtownLems

What problem does this address?

Our hybrid theme supports 2 native Template Parts that users can edit, but we disable the Template Part Block in editor contexts (as we aren't a block-based theme). 6.6 allows users to duplicate Template Parts. Unfortunately, that results in a very confusing situation in our environment, because now there is a Template Part that can be edited, but literally cannot be used anywhere.

What is your proposed solution?

Support disabling the ability to duplicate Template Parts. An easy method is some kind of settings/filter that can be used.

Metadata

Metadata

Assignees

Labels

[Feature] Site EditorRelated to the overarching Site Editor (formerly "full site editing")[Status] In ProgressTracking issues with work in progress[Type] BugAn existing feature does not function as intended

Type

No type
No fields configured for issues without a type.

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions