Adhere to WordPress theme structure best practice
-
See https://developer.www.ads-software.com/themes/basics/organizing-theme-files/
I notice the use of templates doesn’t necessarily align with WordPress’ suggested files-and-folder structure guidelines.
Namely, the storage of template include files in dedicated directories.
The separation of include parts from the theme’s single top level is useful. It is a nice idea to use the top level only for standard template-hierarchy pieces – not for entry-content.php etc.
Whilst this is not mandated, WP says its Twenty* themes show “best” file structure.
Would it be useful for you to follow this?
Well done!
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Adhere to WordPress theme structure best practice’ is closed to new replies.