This is a simple demo theme to demonstrate how to use Sprig with a WordPress theme. Sprig is a plugin that enables the Twig templating engine with a WordPress twist.
This theme includes a styleguide at /styleguide/
with various components that can be viewed in one central location. This makes visually QAing a component much easier compared to finding an example of a problem in the database.
Download and add this theme to the themes
directory of your WordPress site. Also download and activate the Sprig WordPress plugin and add it to your plugins
directory. It is also recommended to download and install the WP Styleguide plugin to see the styleguide content on the frontend.
The import.xml
file can be used with the WordPress Importer plugin to load up sample content suitable for testing a theme's capabilities. See the Theme Unit Test repo for more details.