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.
发布者:admin,转转请注明出处:http://www.yc00.com/questions/1745258156a4619080.html
评论列表(0条)