Two weeks ago, Justin Tadlock published a proposal on behalf of the Theme Review Team to create a set of standardized packages that theme authors can drop-into their themes. This week, the team has released two feature packages that illustrate what the project is trying to accomplish.
The first is an Autoloader that provides the means necessary for theme authors to autoload PHP classes. While Composer is recommended, the team has created a PSR-4 compliant autoloader as an alternative for those not ready for Composer.
“This is a foundational package that will allow you to use any other packages that we create,” Tadlock explained. “You could even use it for autoloading your own theme classes if you choose to do so (assuming they follow the PSR-4 autoloading standard for class and folder names).”
The second package provides a Customizer Section Button that enables theme authors to create a link or button that points to a URL. This feature was originally developed to allow developers a standard way to display a Pro/Upsell link within the customizer. However, the package is generic enough that developers can use it to link to any URL.
Tadlock also provided feedback on a number of ideas that were proposed. Packages up for consideration include, Breadcrumbs, Sliders and Sections, Mobile Navigation, Color Control with Transparency, Appearance > Theme Name Page, and Standard Template Hooks.