[wp-trac] [WordPress Trac] #56762: PHP file being ignored in block theme hierarchy
WordPress Trac
noreply at wordpress.org
Thu Oct 20 10:39:56 UTC 2022
#56762: PHP file being ignored in block theme hierarchy
---------------------------+------------------------------
Reporter: ryanpluckrose | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Themes | Version: 6.0.2
Severity: major | Resolution:
Keywords: needs-patch | Focuses: template
---------------------------+------------------------------
Comment (by poena):
It is correct that the PHP (page-)template needs to be in the root
directory, @ryanpluckrose did you try moving it out of the templates
folder?
I don't believe that block template parts as PHP files are supported by
Gutenberg or core, I have not heard of it before, and I would like to
learn what the use case is?
I suggest opening a new issue for this specifically, but in the Gutenberg
GitHub repository.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/56762#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list