magdev 9bb7f4f47f
Some checks failed
Create Release Package / PHP Lint (push) Successful in 52s
Create Release Package / Build Release (push) Failing after 1m52s
v0.1.0 - Core Theme: patterns, dark mode, block styles, style variations
- Add 16 block patterns across 7 new categories (hero, features, CTA,
  testimonials, pricing, contact, text)
- Add dark mode toggle with localStorage persistence and system preference
  detection (Bootstrap 5.3 data-bs-theme)
- Register 17 custom block styles mapping Bootstrap components to WordPress
  blocks (cards, alerts, tables, buttons, etc.)
- Add 4 style variations: Ocean, Forest, Sunset, Midnight
- Add sidebar template part and "Blog with Sidebar" custom template
- Add Inter and Lora variable fonts with fontFace declarations
- Add Display font size (fluid 2.5rem-3.5rem)
- Update translations (en_US .pot, de_CH .po) with all new strings
- Bump version to 0.1.0

Co-Authored-By: Claude <noreply@anthropic.com>
2026-02-08 03:07:16 +01:00
2026-02-08 02:25:33 +01:00
2026-02-08 02:25:33 +01:00
2026-02-08 02:25:33 +01:00
2026-02-08 02:25:33 +01:00
2026-02-08 02:25:33 +01:00

WP Bootstrap

A modern WordPress Block Theme built from scratch with Bootstrap 5.

Features

  • Full Site Editing (FSE) support
  • Bootstrap 5 CSS and JavaScript
  • Responsive design
  • Dark mode ready (Bootstrap 5.3 dark mode variables)
  • Twig 3.0 template engine
  • WordPress i18n support
  • Gitea CI/CD automated releases

Requirements

  • WordPress 6.7 or higher
  • PHP 8.3 or higher

Installation

From Release Package

  1. Download the latest .zip from Releases
  2. Go to WordPress Admin > Appearance > Themes > Add New > Upload Theme
  3. Upload the ZIP file and activate

From Source

git clone ssh://git@src.bundespruefstelle.ch:2022/magdev/wp-bootstrap.git
cd wp-bootstrap
composer install
yarn install
yarn build

Development

Prerequisites

  • Node.js 20+
  • Yarn
  • Composer
  • PHP 8.3+

Build Commands

Command Description
yarn build Compile SCSS, minify CSS, copy Bootstrap JS
yarn dev Watch SCSS files and recompile on changes
yarn scss Compile SCSS only
yarn postcss Minify CSS with Autoprefixer
composer install Install PHP dependencies

Project Structure

wp-bootstrap/
├── assets/           Compiled CSS, JS, and images
├── inc/              PHP classes (PSR-4 autoloaded)
├── languages/        Translation files (.pot, .po)
├── parts/            FSE template parts (header, footer)
├── patterns/         Block patterns
├── src/scss/         SCSS source files
├── templates/        FSE page templates
├── views/            Twig templates
├── functions.php     Theme bootstrap
├── style.css         Theme metadata
└── theme.json        Design tokens and settings

License

GPL-2.0-or-later

Author

Marco Graetsch - src.bundespruefstelle.ch/magdev

Description
WordPress Bootstrap 5 theme
Readme 1.7 MiB
2026-03-07 09:34:46 +00:00
Languages
CSS 73.9%
PHP 20%
Twig 3.5%
SCSS 1.1%
HTML 0.8%
Other 0.7%