How to identify what templates are being loaded on a page in a FSE theme


Is there a way/api call to find out what templates in FSE (full-site-editing that use all blocks) are being loaded on the front-end when a user is loading 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-23T13:10:42-05:00 0 Answers 6 views 0

Leave an answer