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

本文标签: NonBlog Website without Search are commentsphp and searchphp in theme still required