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 badge
Add a comment  | 

1 Answer 1

Reset to default 0

Review 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