open-function-computers-llc / rad-theme-engine
A suite of classes to make WordPress theme development cleaner
Requires
- php: >=7.4
- jjgrainger/posttypes: ^2.1
- salesforce/handlebars-php: ^2.3
Requires (Dev)
- phpunit/phpunit: ^9.5
This package is auto-updated.
Last update: 2024-10-25 20:27:50 UTC
README
A suite of utilities to deliver a faster and more consistent WordPress theme development experience.
π¦ Β View on Packagist
π Β Read the Docs
About
The purpose of this package is to enable developers to use the familiar model-view-controller pattern in the creation of WordPress themes. This is accomplished by keeping HTML and PHP code as seperated as possible and adding convenient methods to organize data before itβs sent to the view controllers. Querying for posts, rendering menus, handling taxonomies and all the other essential parts of developing a WordPress theme are now easier than ever with the RAD Theme Engine.
Quick Start
Inside of your site's wp-content/themes
folder, run the following command to create a new Rad Theme Engine project.
composer create-project open-function-computers-llc/wp-theme <theme-name>
Next, enter your new theme's folder and run npm install
to get dependencies.
cd <theme-name>
npm install
And that's it! Read about advanced installations and asset bundling on the docs.
Example Projects
- Shirt Store β Demonstrates custom post types, taxonomies, handlebars, and more.
Authors
- Kurtis Holsapple β @lapubell
- Escher Wright-Dykhouse β @escherwd
- Gabriel Johnson - @gabriel-johnson
License
Licensed under the MIT license, see LICENSE