admin管理员组文章数量:1323335
Firstly, I understand the template hierarchy a little bit and read all the answers given by experts but unfortunately didn't get that.
Here is the problem I face:
- If I use
home.php
then the content of the file is used on the home-page but when I set the static page for blog posts then the content ofhome.php
is showed on the page. (I know the template hierarchy). - If I use
front-page.php
then the content ofindex.php
is used on the homepage and not the file content.
Now I am confused why the home.php
works on the home page and front-page.php
isn't shown.
Any idea why this isn't working.
本文标签: theme developmentWhy frontpagephp doesn39t show content of file instead shows loop
版权声明:本文标题:theme development - Why front-page.php doesn't show content of file instead shows loop 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1742137804a2422446.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论