Genesis Starter

A Genesis Framework starter theme with Gulp support.
Alternatives To Genesis Starter
Project NameStarsDownloadsRepos Using ThisPackages Using ThisMost Recent CommitTotal ReleasesLatest ReleaseOpen IssuesLicenseLanguage
Sage12,107635 days ago40July 19, 202213mitPHP
WordPress starter theme with Laravel Blade components and templates, Tailwind CSS, and a modern development workflow
Timber5,209131778 days ago115June 22, 2022209mitPHP
Create WordPress themes with beautiful OOP code and the Twig Template Engine
Typography.js3,7572,2061864 months ago79May 10, 202195mitJavaScript
A powerful toolkit for building websites with beautiful design
Argon Theme3,160
2 months ago120gpl-3.0PHP
📖 Argon - 一个轻盈、简洁的 WordPress 主题
Understrap2,9578113 days ago37November 08, 202175gpl-3.0CSS
Underscores + Bootstrap = Understrap, the renowned open-source WordPress starter theme.
Sakura2,947
2 months ago20gpl-2.0PHP
A Wonderful WordPress Theme: 樱花庄的白猫博客主题
Frontity2,8236672 months ago60July 19, 202266apache-2.0TypeScript
» Frontity - The React Framework for WordPress
Foundationpress2,780
4 years ago35April 12, 201955mitPHP
FoundationPress is a WordPress starter theme based on Foundation 6 by Zurb
Kratos2,709
2 days ago7gpl-3.0PHP
📖 WordPress theme that focus on reading experience
Plugin Update Checker1,927633022 days ago31July 24, 202279mitPHP
A custom update checker for WordPress plugins. Useful if you don't want to host your project in the official WP repository, but would still like it to support automatic updates. Despite the name, it also works with themes.
Alternatives To Genesis Starter
Select To Compare


Alternative Project Comparisons
Readme

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.

Popular Theme Projects
Popular Wordpress Projects
Popular User Interface Categories
Related Searches

Get A Weekly Email With Trending Projects For These Categories
No Spam. Unsubscribe easily at any time.
Css
Theme
Wordpress
Browserify
Wordpress Theme
Browsersync