Custom Theme Directory Structure
-
How can I define a custom directory structure for my theme? Like so:
- MyTemplate - partials - header.php - footer.php - login.php - stack-overflow.php - templates - index.php - page.php - post.php - css - partials - sidebar.css - header.css - footer.css style.css mobile.css
If I wanted to do something like this, do I need any configuration file so that I can still use functions like get_template_part()?
Thanks
[Note – Formatting fixed by moderator]
- The topic ‘Custom Theme Directory Structure’ is closed to new replies.