Thanks for the message. Template parts for FSE themes should be reported correctly as I added support for this a long while ago; are you using the latest version of QM? Which theme are you using?
Regarding the page template, what information do you think would be best to see? template-canvas.php is technically the correct template for FSE themes but it’s not the most useful information to see. What would be better to show instead?
Hi, thanks for quick answer. It is a custom theme I developed. It would be useful to see the same things as on classic themes, template (as index.html for example and template part as header.html) I am using the latest version of query monitor.
-
This reply was modified 3 years, 3 months ago by
Lovro Hrust.
I’ve been working on some additional improvements to the Theme panel when a block theme or FSE is in use. I’ll release a new version of QM with these changes soon.
Thank you for the update, though I am now getting an error, although html template is visible in the lower part:
parts/header.html
Warning: Undefined array key “C:/Wamp.NET/sites/nick-notas/wp-content/themes/nicknotaswebsite/parts/header.html” in C:\Wamp.NET\sites\nick-notas\wp-content\plugins\query-monitor\output\html\theme.php on line 108
I’ve not released an update yet. Which version of QM are you using?
Thanks for the update! Now, html template is correctly displayed, which made me very happy, there is still minor issue of PHP errors in detailed pane “Template parts”:
parts/header-front.html
Warning: Undefined array key “C:/Wamp.NET/sites/nick-notas/wp-content/themes/theme/parts/header-front.html” in C:\Wamp.NET\sites\site\wp-content\plugins\query-monitor\output\html\theme.php on line 167
parts/footer.html
Warning: Undefined array key “C:/Wamp.NET/sites/nick-notas/wp-content/themes/theme/parts/footer.html” in C:\Wamp.NET\sites\site\wp-content\plugins\query-monitor\output\html\theme.php on line 167
-
This reply was modified 3 years, 2 months ago by
Lovro Hrust.