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


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

Will 2 years 2020-12-27T17:10:32-05:00 0 Answers 3 views 0

Leave an answer