Theme Structure Overview
This theme is built on Sage/Blade with Vite. Here’s where the main pieces live.
- wp-content/themes/bbi-turbo/
- app/
- resources/
- public/
- vendor/
Templates (Blade views)
- resources/views/
Blade templates and partials.
Example: resources/views/partials/ for reusable components.
Styles
- resources/css/
Main theme CSS (Tailwind + custom styles). - public/build/
Compiled assets from Vite. (Generated by npm run build)
Theme logic (PHP)
- app/setup.php
Theme setup, enqueue logic, filters, and actions.
- app/filters.php
Filters and tweaks.
- app/customizer/
Customizer controls and output.
Theme config
- theme.json
Gutenberg editor defaults and settings. - vite.config.js
Vite build configuration. - composer.json
PHP dependencies (Sage/Acorn stack).
Where to customise
- CSS changes: child theme style.css or Simple CSS plugin.
- PHP changes: child theme functions.php or Code Snippets plugin.
- Templates: override Blade views in a child theme if needed.