Non-Blog Website without Search: are comments.php and search.php in theme still required?

What is the best practice when it comes to a static, minimal WP website? It will have no blog updates, no discussioncom

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

1 Answer 1

Reset to default 1

According 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.

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1745258156a4619080.html

相关推荐

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信