admin管理员组文章数量:1417065
What is the best practice when it comes to a static, minimal WP website? It will have no blog updates, no discussion/comments, and no search. Should all the standard template files still be included?
What is the best practice when it comes to a static, minimal WP website? It will have no blog updates, no discussion/comments, and no search. Should all the standard template files still be included?
Share Improve this question edited Aug 7, 2019 at 23:42 Phantasmix asked Aug 7, 2019 at 23:33 PhantasmixPhantasmix 1501 silver badge15 bronze badges1 Answer
Reset to default 1According to the documentation, the only required files in a theme are style.css
and index.php
. All other files are optional. You can use the ones you need and discard the ones you don't need.
If you haven't seen it, I'd recommend you check out WordPress's developer site on the topic of themes.
本文标签: NonBlog Website without Search are commentsphp and searchphp in theme still required
版权声明:本文标题:Non-Blog Website without Search: are comments.php and search.php in theme still required? 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1745258155a2650225.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论