DEV Community

Yosri Mhamdi
Yosri Mhamdi

Posted on

WordPress Theme File Structure

WordPress Theme File Structure

1

As far as I know any single[-post-type].php, page[-page-slug].php and archive[-post-type].php files should live in the root directory of the theme folder. Is there any way to put them in subfolders by category like so?

enter image description here

Top comments (0)