A WordPress starter theme that is set up to work with the latest version of Bootstrap.
This theme is not intended for non-developers, but it should be easy to set up.
- Install
npm
on your machine if it's not already installed. - In the theme's root, run
npm install
to install everything (including Bootstrap). - Run
npm start
to run file watcher and start editing. - Run
npm run build
to process files for produciton.
Running npm run buld
will create a dist
folder on the root. The dist
folder will contain all the asset files inside their own folders.
It watches for scss
and js
files and automatically compiles them to the dist
folder.
If you're pushing assets to production, be sure to run npm run build
before copying the assets in dist
since npm start
doesn't compress the assets.
It compiles and compresses all the assets found in /js
/scss
and /img
to the /dist
folder.
WordPress block editor is disabled by default. You can re-enable it by deleting the code blocks inside /inc/optimization.php
.
Once you run npm install
do not upload node_modules
to your website.
- Based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc., GPLv2 or later
- normalize.css https://necolas.github.io/normalize.css/, (C) 2012-2018 Nicolas Gallagher and Jonathan Neal, MIT
- Bootstrap https://getbootstrap.com/ (C) 2021-2023 The Bootstrap Authors, MIT
- Bootstrap 5 Navbar Walker https://github.com/AlexWebLab/bootstrap-5-wordpress-navbar-walker (C) 2021 AlexWebLab, MIT
- Requires at least: 4.5
- Tested up to: 5.4
- Requires PHP: 7.4
- Stable tag: 1.0.0
- License: GNU General Public License v2 or later
- License URI: LICENSE