Skip to content

A demo theme showing how to use the Sprig template for Twig templating in WordPress

Notifications You must be signed in to change notification settings

kingkool68/sprig-demo-theme

Repository files navigation

Sprig Demo Theme

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.

Styleguide

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.

Installing

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.

Screenshot

sprig-demo-theme

About

A demo theme showing how to use the Sprig template for Twig templating in WordPress

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published