A Ghost-like 👻 WordPress theme
Casper(for WordPress)is a simple yet beautiful theme for bloggers.
Inspired by theGhostblogging platform, Casper is aWordPressport of thedefault theme by the same name.The goal of this project is to emulate the gorgeous theme while taking advantage of features exclusive to the WordPress framework.
- Search feature 🔦
- Comments section 🙊
- Customizer integration 🌈
- Social icons pre-included 🐾
- Responsive site and images 🐛
Download thezippackage of the theme and install either automatically through the WordPress Dashboard > Appearance tab, or by uploading thecasper
folder to your WordPress/wp-content/themes directory.
Thestyle.css
file in the theme directory is minified. A human-readable version of is located atcss/style.css
.
The recommended way to edit the Casper theme is to use theCasper child theme.This will ensure that none of your changes will be lost when you update Casper. Install and activate the child theme and make changes as you would normally. Any file included in the theme will override a Casper theme file (exceptions beingfunctions.php
andstyle.css
).
If you want to make changes to the core theme, or want to contribute, read below on how to build the package.
Casper is open-source and simple to develop and extend.
#Clone and install dependencies
$ git clone https://github /lacymorrow/casper.git
$cdcasper
$ npm install -g grunt-cli
$ npm install
#Build the distribution
$ grunt
orgrunt watch
to continuously build.
- Compile
src/css/style.less
and other LESS and CSS files insrc/css/
- Any CSS is combed, linted, prefixed, then compiled with
css/style.css
css/style.css
is minified intostyle.css
- Images in
src/img/
are compressed and copied toimg
- Theme JavaScript and other js files in
src/js/
are linted, minified, and combined intojs/main.js
To generate a.pot
language file you must have xgettext installed. On OSX using homebrew runbrew install gettext && brew link gettext --force
to install. Rungrunt i18n
to generate language files.
Want to report a bug, request a feature, or help me build this project? The more the merrier! 🐞
Many thanks to theGhost&WordPressteams, as well as theUnderscores _scontributers, andkvendrik.☄️
Built using all of the above. ⛄️
- Update Casper WP to match the updated Ghost version -Casper 2!
- Implement an update mechanism to pull changes from the Ghost project to keep the development in sync
All assets licensed under a GPL-compatible license.