Welcome to the WP Blueprint Core Theme! This guide will walk you through installation of the package with initial setup. Let’s get started!
Step 1 – Installation
To install the WP Blueprint Theme Core as a dependency in your theme, use Composer:
composer require wp-blueprint/theme-core
Step 2 – Setup
After installing the WP Blueprint Theme Core, you can utilize the Initializer
class to load and register the shared classes in your theme:
if ( file_exists( dirname( __FILE__ ) . '/vendor/autoload.php' ) ) :
require_once dirname( __FILE__ ) . '/vendor/autoload.php';
endif;
if ( class_exists( 'WPBlueprint\\Theme\Core\Initializer' ) ) :
WPBlueprint\Theme\Core\Initializer::register_services();
endif;