All Projects → goblindegook → genesis-starter

goblindegook / genesis-starter

Licence: GPL-2.0 License
A Genesis Framework starter theme with Gulp support.

Programming Languages

CSS
56736 projects
javascript
184084 projects - #8 most used programming language
PHP
23972 projects - #3 most used programming language

Projects that are alternatives of or similar to genesis-starter

wp-theme-zentile
Zentile is a lightweight magazine theme inspired by Yandex.Zen
Stars: ✭ 27 (+22.73%)
Mutual labels:  wordpress-theme
Bulmascores
WordPress starter theme based on Underscores and Bulma
Stars: ✭ 14 (-36.36%)
Mutual labels:  wordpress-theme
classy
Light, well-structured WordPress theme framework based on “Laravel Blade” template engine
Stars: ✭ 74 (+236.36%)
Mutual labels:  wordpress-theme
theme-lib-mix
A Laravel Mix function for WordPress themes.
Stars: ✭ 33 (+50%)
Mutual labels:  wordpress-theme
thewhite
✒️ It's a minimal and light wordpress blog theme 🎨
Stars: ✭ 87 (+295.45%)
Mutual labels:  wordpress-theme
sage-next
familiar-zebra.surge.sh
Stars: ✭ 18 (-18.18%)
Mutual labels:  wordpress-theme
WordPress-UIkit-Starter-Theme
A WordPress starter theme for developers using the frontend framework UIkit
Stars: ✭ 55 (+150%)
Mutual labels:  wordpress-theme
backbone-wp
A WordPress theme built with Backbone that uses front-end routing.
Stars: ✭ 12 (-45.45%)
Mutual labels:  wordpress-theme
webpack-gulp-wordpress-starter-theme
A WordPress theme with Webpack & Gulp
Stars: ✭ 110 (+400%)
Mutual labels:  wordpress-theme
tailpress
A Tailwind CSS enabled Underscores theme
Stars: ✭ 60 (+172.73%)
Mutual labels:  wordpress-theme
eightshift-docs
A documentation website for Eightshift open source projects
Stars: ✭ 44 (+100%)
Mutual labels:  wordpress-theme
vanilla
Simple WordPress theme for blogging
Stars: ✭ 20 (-9.09%)
Mutual labels:  wordpress-theme
wordpress-amp-theme
A free WordPress theme for blogging built entirely on Google AMP
Stars: ✭ 22 (+0%)
Mutual labels:  wordpress-theme
brunch-wordpress-theme
WordPress Starter Theme That Uses Brunch, Bower, And Bootstrap
Stars: ✭ 15 (-31.82%)
Mutual labels:  wordpress-theme
wordpress-theme
WDG WordPress Starter Theme
Stars: ✭ 23 (+4.55%)
Mutual labels:  wordpress-theme
Tint-Pro
WordPress高级扩展主题Tinection Two/Tint
Stars: ✭ 42 (+90.91%)
Mutual labels:  wordpress-theme
v1.scott.ee
✅ My website built with nuxt.js and statically generated from WordPress.
Stars: ✭ 55 (+150%)
Mutual labels:  wordpress-theme
dolores
WordPress theme for participative platforms. Used in Se A Cidade Fosse Nossa, Compartilhe A Mudança, among others.
Stars: ✭ 16 (-27.27%)
Mutual labels:  wordpress-theme
bootplate
Wicked-fast, mobile-first, Bootstrap 4 theme framework for building awesome WordPress websites.
Stars: ✭ 30 (+36.36%)
Mutual labels:  wordpress-theme
WPGrabInfo
WP Grab Info v2
Stars: ✭ 43 (+95.45%)
Mutual labels:  wordpress-theme

Genesis Starter

A Genesis Framework starter theme with Gulp support. I took StudioPress' original Genesis Sampler theme and added my stuff.

Requirements

Setup

  1. Clone this repository and change the theme's name.
  2. There is no style.css in the root, that is built by Gulp. The header comment metadata can be edited at src/sass/_meta.scss.
  3. Run composer install to install PHP dependencies.
  4. Run npm install to setup the build tools and install JavaScript dependencies.
  5. Run gulp build to generate public site assets from sources.

CSS Preprocessor Support

Genesis Starter uses Sass out of the box, but it should not be at all hard to configure a Gulp task to handle different preprocessors (such as LESS or Stylus).

JavaScript and Browserify

The Starter uses Browserify to better allow modularization of client-side code using modules.

By default, your code is concatenated into a file called app.js, while external dependencies (installed using NPM) are concatenated into infrastructure.js.

The Browserify build process also handles ECMAScript 2015 transparently, using Babel to convert it into the kind of JavaScript most browsers support today.

Build Tasks

The Genesis starter provides the following Gulp tasks.

Task Description
watch Watches files for changes and rebuilds assets (default).
build Runs browserify, fonts, sass and images.
test Runs ava and phpunit.
clean Deletes the built assets so you can start afresh.
ava Runs AVA tests.
browser-sync Reloads and syncs browsers on multiple devices.
browserify Packages JavaScript bundles from their sources.
eslint Lints your JavaScript code.
fonts Converts web fonts to CSS for localStorage caching.
images Copies and compresses image assets.
phpunit Runs PHPUnit test cases.
sass Compiles, minifies and concatenates CSS from Sass.

Task parameters may be configured via the gulp/config.js file.

BrowserSync

The watch task uses BrowserSync to observe files, automate browser refreshes and allow synchronised testing between different devices on the same site.

In order to do this, BrowserSync creates a local proxy that channels connections to the development site defined in the browserSync.proxy entry of gulp/config.js.

The proxy configuration requires that your WordPress site be available from multiple domain or host names, a feature offered by a plugin such as WP Hydra. (I recommend that you use these plugins for development only, since activating them on a public site could severely affect your site's search rankings.)

Feel free to experiment (and report on) different BrowserSync configurations, but from those I've tried this is the one that work best for me.

License

Genesis Starter is released under the GPL 2.0 Free Software License.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].