- A WordPress theme Project for Advanced WordPress Theme Development Course. This theme uses Bootstrap. Learn to build an Advanced WordPress Theme from scratch
Also See - Advanced WordPress Plugin Development
-
Custom front page.
-
Custom Blog page with posts displayed in grid format using bootstrap.
-
Block Style Variations
-
Custom Gutenberg Blocks
-
InnerBlocks
Name | Github Username |
---|---|
Imran Sayed | @imranhsayed |
- Clone the WordPress theme aquila in your WordPress themes directory and activate it.
- Create pages called 'Home' and 'Blog' and set them from Appearance > Customizer > Homepage Settings like so:
Install
Clone the repo and run
cd aquila/assets
npm install
During development
npm run dev
Run precommit from assets directory before pushing the code for development/contribution.
cd assets && npm run precommit
Production
npm run prod
Linting & Formatting
The following command will fix most errors and show and remaining ones which cannot be fixed automatically.
npm run lint:fix
We follow the stylelint configuration used in WordPress Gutenberg, run the following command to lint and fix styles.
npm run stylelint:fix
Format code with prettier ( TO BE ADDED )
npm run format-js
Directory Structure
.
βββ README.md
βββ assets
βΒ Β βββ main.js
βΒ Β βββ src
βΒ Β βββ library
βΒ Β βββ css
βΒ Β βΒ Β βββ bootstrap-grid.min.css
βΒ Β βΒ Β βββ bootstrap.min.css
βΒ Β βββ js
βΒ Β βββ bootstrap.min.js
βββ demo
βΒ Β βββ banner.png
βΒ Β βββ blog-page.png
βΒ Β βββ features-one.png
βΒ Β βββ features-two.png
βΒ Β βββ home-page-customizer-setup.png
βββ footer.php
βββ front-page.php ( Home Page )
βββ functions.php
βββ header.php
βββ inc
βΒ Β βββ classes
βΒ Β βΒ Β βββ class-aquila-theme.php
βΒ Β βΒ Β βββ class-assets.php
βΒ Β βΒ Β βββ class-menus.php
βΒ Β βΒ Β βββ class-meta-boxes.php
βΒ Β βββ helpers
βΒ Β βΒ Β βββ autoloader.php
βΒ Β βΒ Β βββ template-tags.php
βΒ Β βββ traits
βΒ Β βββ trait-singleton.php
βββ index.php ( Blog page )
βββ page.php ( Single Page )
βββ screenshot.png
βββ single.php ( Single Post Page )
βββ style.css
βββ template-parts
βββ components
βΒ Β βββ blog
βΒ Β βββ entry-content.php
βΒ Β βββ entry-footer.php
βΒ Β βββ entry-header.php
βΒ Β βββ entry-meta.php
βββ content-none.php
βββ content.php
βββ header
βββ nav.php
- Error: Node Sass does not yet support your current environment Solution :
cd assets
npm rebuild node-sass