Did they stop supporting php files as custom templates? I’ve tested registering my .php templates that are located under /templates
in theme.json
but it only works for html files.
Am I missing anything?
// offers.php located in /templates
// with/without index.php in /templates - Block editor template dropdown will not show Swap Template
{
"version": 3,
"customTemplates": [
{
"name": "offers",
"postTypes": ["page"],
"title": "Offers"
}
]
}
Since upgrading to 6.5 from 6.4 I’ve been using the quick edit work-around, thanks @justincodes
but would definitely want information on why this is happening.