WordPress themes have a fairly comprehensive template hierarchy. The template that’s chosen depends on the request. When looking for a template it starts from the left and works its way to the right.
- The template hierarchy is pretty much the same as for existing themes.
Just replace the
- If it can’t find the most specific template it’ll keep looking.
category-blocksthen it’ll look for
- Users of a theme can override templates by editing the supplied template in the Site Editor and saving the results in the database. There should be no need to edit the
.htmlfiles using the theme editor.
- Custom templates can be specified in the