An absolute barebones WordPress theme template. No bullshit.
Working with WordPress constantly, I grew tired of using the popular WordPress boilerplates due to the amount of bloat that is packaged with them. Everyone's projects are unique and as such there should be no predefined markup or way of doing things within any one project. Aside from trying your best to adhere to WordPress' Coding Standards, your implementation and style should be unique to you. That's why Barebones WP provides you with the bare minimum required to implement a theme.
- Clone this repo to your
wp-themes
directory - (Optional) Perform a non case-sensitive, global find & replace of the characters
wpbp
and replace with your project/theme name. - Fill out the required fields in
style.css
- Setup your workspace such that
scss
files in thesass
folder are all compiled tocss/style.min.css
OR shuffle the folders and setup the workspace however you'd like; just remember to enqueue any styles infunctions.php
.
Post-setup steps:
- Familiarise yourself with the WordPress Template Hierarchy
- Feel free to delete any templates you feel aren't relevant to your project. After all, this is meant to be barebones.
This project, like WordPress, is under the GNU General Public License v2.0 (GPL-2.0). If you are unfamiliar with this license and what it includes, tldrlegal.com have a great summary.
I am by no means a WP expert so please feel free to fix/help me fix stuff. Simply submit an issue or a PR and I'll check it out.
Special thanks to our contributors!