How to identify what templates are being loaded in a block-based theme [closed]

Question

Is there a way/api call to find out what template and template-parts in a block-based theme that uses the full site editor (full-site-editing that use all blocks) are being loaded on the front-end when an user is viewing a page?

For example: I’m looking at the Q FSE theme, and I don’t know what template is being used to return the search results when I’m viewing it from the front-end.

For ‘classic’ php-based themes, there’s several ways of doing this like calling get_included_files as done in plugins like show-current-template and what-the-file

0
Will 3 weeks 0 Answers 3 views 0

Leave an answer