Skip to content

Full-site Editing: Themes located in a subdirectory do not load template parts #28022

Description

@kjellr

If a theme is loaded from a subdirectory, then its template parts are not properly loaded into the site editor. For example, if the theme is located here:

wp-content/themes/subfolder/themename

instead of:

wp-content/themes/themename

This has come up when folks test the TT1 Blocks theme: it used to work when you copied the entire theme-experiments folder into wp-content/themes, but it no longer does. This was fixed once before in #26391.

I believe this will be fixed by #27765, but opening an issue here to track the bug.

Metadata

Metadata

Assignees

No one assigned

    Labels

    [Feature] ThemesQuestions or issues with incorporating or styling blocks in a theme.[Type] BugAn existing feature does not function as intended

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions