A multimedia blog theme.
roundhouse is intended to be used as simple starter theme, which contains a minimal scaffold of templates and SCSS utilites for getting started, some sensible default styles and layout configurations, and a handful of useful but optional WP theme components which are disabled by default.
To use roundhouse, simply download a copy of the theme into a new directory and start coding.
roundhouse is based on Automattic's underscores theme.
The roundhouse theme ships with an assortment of common, pre-built options for your theme's layouts, templates and metadata. Most of these are disabled by default. You can enable layout options by updating or adding matching CSS selector classes to your templates. Template options can be enabled by uncommenting include files in your functions.php
file.
- Site Header: Sticky Header
- Main Navigation: Priority Nav
- Main Navigation: Top Level Nav
- Main Navigation: Slide Out Mobile Nav
- Site Content: Two Column Layout
- Site Content: Single Column Layout
- Post & Page: Advanced Featured Image Options
- Download a copy of the roundhouse theme:
$ git clone https://github.com/ian-pvd/roundhouse.git your-project
- Find and replace any instances of the roundhouse namespace.
- Search for
'roundhouse'
(inside single quotations) to replace the text domain. - Replace
Text Domain: roundhouse
instyle.css
with your project's text domain. - Preform a case-sensative search for
pvd_
to replace all the function & variable names. - Perform a case-sensative search for
PVD_
to replace all the constant names. - Search for
Roundhouse
(with a space before it) to capture DocBlocks. - Search for
pvd-
to capture prefixed handles.
- Search for
- Run
npm install
&npm run build
in your project directory. - Assign some menus to the Primary Navigation and Footer Utilities menus.
Rounhouse is a WordPress theme.
For more information, see the code comments in index.php
and functions.php
This theme uses a webpack compiler to build front-end assets from SCSS & JS files.
- Run
npm run build
to generate minified JS and CSS asset bundles. - During development, you can use either
npm run watch
ornpm run dev
to enable live asset reloading in your browser.
Editable front-end files are stored in the assets/src
folder. Built assets are stored in assets/dist
. To view and make changes to the configuration, check the files in assets/config
.
For more information, see assets/readme.md