Skip to content
Julien Verneaut edited this page Sep 11, 2024 · 2 revisions

This project is a Bedrock Roots Starter theme that leverages modern development tools like Composer, npm, Webpack Encore, and Twig for WordPress theme development. It streamlines the creation of menus, custom post types (CPTs), and Gutenberg blocks using intuitive service classes and templates.

Table of Contents

  1. Project Setup
  2. Scaffolding Gutenberg Blocks with Twig
  3. Managing Menus and Custom Post Types

Project Overview

This theme makes WordPress development simpler and more maintainable by integrating modern development practices. Here's what the project offers:

  • Dependency Injection: Easily manage and organize theme components such as menus and custom post types via services.
  • Gutenberg Block Scaffolding: Create new blocks using a built-in script that scaffolds blocks with Twig templates for rendering, offering a more efficient and clean development experience.
  • Webpack Encore: Utilize Webpack Encore to bundle and compile assets for both development and production environments.

Getting Started

To begin using the theme, visit the Project Setup page for a step-by-step guide on installing and configuring the theme for local development.

Clone this wiki locally