admin管理员组文章数量:1122846
I have a clean install with reading settings set to static page and blog index set to a page named 'Blog'. According to the codex home.php should be the template in use for the blog index, but instead it is using 'page.php'. Why could this be? I have no plugins installed.
I have a clean install with reading settings set to static page and blog index set to a page named 'Blog'. According to the codex home.php should be the template in use for the blog index, but instead it is using 'page.php'. Why could this be? I have no plugins installed.
Share Improve this question asked Mar 30, 2024 at 15:32 NotaGuruAtAllNotaGuruAtAll 1011 bronze badge1 Answer
Reset to default 0Review the 'WordPress Theme Hierarchy' document here: https://developer.wordpress.org/themes/basics/template-hierarchy/
It explains how templates are selected according to function and availability. The chart is helpful.
本文标签: theme developmentHomephp not working with underscores
版权声明:本文标题:theme development - Home.php not working with underscores 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1736312220a1935021.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论