|
||
---|---|---|
assets | ||
blocks/deferred-youtube-video | ||
img | ||
includes | ||
js | ||
templates | ||
.gitattributes | ||
.gitignore | ||
.gitmodules | ||
CHANGELOG.md | ||
LICENSE.txt | ||
README.md | ||
footer.php | ||
functions.php | ||
header.php | ||
index.php | ||
mix-manifest.json | ||
package.json | ||
page.php | ||
screenshot.jpg | ||
single.php | ||
style.css | ||
webpack.mix.js |
README.md
barebones+
We loved barebones, but we needed some adjustments for our projects.
Features
- For standard barebones features, check out here. We just removed some functions that we don't need.
- Custom
index.php
as 404 template. - Deferred YouTube Video custom block.
- Added a
css
class and a standard block support:cover
block basic support (in/assets/styles/_main.scss
).fullwidth
for full width elements (in/assets/styles/_main.scss
and/assets/scripts/scripts.js
)
Installation
Clone the barebones+ repositories into your WordPress /wp-content/themes/ directory:
git clone https://git.congegni.net/Congegni/barebones
cd barebones
Using Laravel Mix
Install Dependencies, you have haven't done yet:
npm install
Then run:
Tasks | |
---|---|
npx mix watch |
watch assets for changes |
npx mix --production |
compile for production |