Skip to content

lastofpudge/wp-theme

Repository files navigation

Timber-based WordPress Starter Theme

Requirements

  • PHP 8.2 or higher
  • Node.js 18+
  • Composer

Features

  • Timber 2.x with Twig template engine
  • Vite 6 for fast JS/SCSS builds
  • Lightning CSS for autoprefixing and minification
  • Custom controllers support
  • Custom fields with Carbon Fields
  • ESLint, Stylelint, Prettier for code quality

Installation

composer install
npm install
npm run build

Development

npm run dev    # Watch mode
npm run build  # Production build
npm run lint   # Run linters
npm run fix    # Fix linting issues

PHP Tools

composer pint   # Code style fixer
composer test   # Run all checks

Links