GrootMade is NOT affiliated with _ANDYP - Custom Theme Structure or its original author. _ANDYP - Custom Theme Structure™ is a trademark of its respective owner and use of it does not imply any endorsement or affiliation. This product has been forked under the GNU General Public License (GPL) and all non-GPL assets (such as proprietary images, fonts, and branding) have been removed. Distributing GPL-licensed code is 100% legal.
This solution addresses a common theme organization challenge for developers working with content management systems. It allows you to move page template files into subdirectories while ensuring the system continues to recognize them automatically, maintaining the standard template hierarchy and fallback behavior.
Automatic template recognition: The system automatically checks for templates in your specified subdirectory before falling back to default locations, requiring no manual template selection.
Maintained hierarchy: Preserves the complete template loading order, including custom templates, slug-based templates, and ID-based templates, with your subdirectory templates inserted at the correct priority level.
Theme organization: Clean up your theme root directory by moving multiple page-slug.php files into a dedicated subfolder, improving file management and readability.
Flexible implementation: Choose between theme-specific implementation via functions.php or a standalone plugin approach for cross-theme compatibility.
Backward compatibility: Works with different system versions and handles edge cases like URL-encoded slugs and custom template assignments without conflicts.
We do not provide support for the original product. If you need official support, please purchase a license from the original developer. Our community assistance is only for issues related to our forked version.
Have questions, feedback, or need support? Join the discussion on our forum.
Discuss on ForumVersion
Author
Updated
Version
Author
Updated
Version
Author
Updated
Author
Version
Type
License
Fork date
Updated
Original slug