Git Product home page Git Product logo

croft's Introduction

Croft

Welcome to Croft, the Foundation WordPress starter theme.

Croft is built with search-engine optimization (SEO) in mind by utilizing the most current HTML5 conventions and Schema.org microdata. Croft combines ZURB's Foundation, the most advanced responsive front-end framework in the world, and Hybrid Core, the developer friendly theme framework created by one of the best WordPress developers around, Justin Tadlock.

Croft isn't mean't to be used as is, it's mean't to used to create your next masterpeice!

Croft requires a minimum of WordPress 4.5.

What comes with Croft?

Croft comes with all of the features you love from Foundation for Sites, along with minimal styling to cover all WordPress core components. The theme comes setup to be used with Foundations Sass mixins (default and my preferred method) or optionally with classes.

What tools do I need to use Croft?

Croft is built with Bower and Gulp usage in mind and is the recommended way to use this theme. However theme assets should compile just fine using other tools.

Getting Started With Croft

Install node.js.

  • Using the command line, navigate to your theme directory
  • Run npm install to install Gulp plugins and Bower packages and copy Hybrid Core to /inc/hybrid-core/.
  • Run gulp to confirm everything is working

What Gulp tasks are included?

Croft comes with a few useful Gulp tasks out of the box:

gulp

The default Gulp task. Runs the build task and watches files for changes.

gulp clean

Cleans and removes the contents of the dist directory.

gulp copy

Copies Hybrid Core files from bower_components to inc/hybrid-core.

gulp Sass

Compiles and minifies the style.scss stylesheet.

gulp sass:editor

Compiles the editor-style.scss stylesheet into the /assets/css/ directory. Used to style the WordPress visual editor.

gulp javascript

Concats and minifies the main JS file.

gulp translate

A simple task for creating a pot file for your theme so it's ready for translation.

gulp build

Runs the clean, copy:hc, sass and javascript tasks.

gulp renametheme

This will rename all references to the theme text domain, function names and any other theme specific names. To use this task please make sure you change the THEME variable in gulpfile.js before running this task.

gulp dist

Copies all final theme files to the dist folder.

gulp zip

Creates a zip file of the dist directory ready to distribute the theme.

Copyright and License

The following resources are included or used in part within the theme package.

All other resources and theme elements are licensed under the GNU GPL, version 2 or later.

2016 © Brett Mason.

croft's People

Contributors

brettsmason avatar thefrosty avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

croft's Issues

[2.0] Checklist

This will be an ongoing list of 2.0 changes as and when I think of them.

  • Remove hybrid_attr system and replace with JSON-P?
  • Check Gulp build system is working correctly
  • Social media customizer control (sortable?) to replace menu system
  • Move to flexbox
  • Finish integrating new Sass structure
  • Decide on a menu system and implement it!
  • Clean up Sass as much as possible and make less opinionated
  • Add cache busting to stop caching issues of old stylesheets
  • Add additional custom customizer controls (sortable text inputs, gallery etc?)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.