Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 59525

Adhere to WordPress theme structure best practice

$
0
0

Replies: 0

See https://developer.wordpress.org/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 all articles
Browse latest Browse all 59525

Trending Articles