Closed. This question is off-topic. It is not currently accepting answers.admin管理员组文章数量:1289832
Your question should be specific to WordPress. Generic PHP/JS/SQL/HTML/CSS questions might be better asked at Stack Overflow or another appropriate Stack Exchange network site. Third-party plugins and themes are off-topic for this site; they are better asked about at their developers' support routes.
Closed 4 years ago.
Improve this questionHow can I identify which template and template-parts in a block-based theme (These are the very new full-site-editing themes 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 are several ways of identifying the templates. For example, you could call get_included_files
as done in plugins like show-current-template or use other plugins like what-the-file and query-monitor.
(An answer to this question would be applicable to all block-based themes; not exclusively to a theme).
本文标签: How to identify what templates are being loaded in a blockbased theme
版权声明:本文标题:How to identify what templates are being loaded in a block-based theme 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1741453273a2379611.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论