Code Monkey home page Code Monkey logo

castello's Introduction

<<<<<<< HEAD

Cork Theme (Gulp Version)

Description:


Cork is a custom, bare-bones WordPress theme designed and managed in an effort to improve workflow and better accommodate local development of WordPress projects. A great deal of the code for this theme has come from HTML5 Boilerplate. This theme has been configured to use Grunt as the task manager required to execute the compilations necessary for building site script and style files.

Cork is also based on the usage of SASS preprocessing. Furthermore, the theme is structured to allow for a mobile-first development strategy. Backwards compatibility for media queries is achieved by serving a differnt stylesheet to browsers that do not recognize the media query feature of CSS (thank you to Ben Callahan and the guys at SparkBox for this awesome mixin).

There are a few other nuggets in there that I like to have out of the box such as a positioning mixin that I pulled from Bourbon and a PHP mobile & tablet detection script.


Installation:


This theme is intended for local development of projects. I have include a general command-line workflow for project creation and source-control. However, this workflow is not required when using the Cork Theme.

cd YourSitesDirectory
mkdir YourProjectDirectory
Using Gulp:

If you do not have Gulp installed on your machine, you will need to install it globally before getting going. Here is more about Gulp.

Once Gulp is installed globally, you now need to run the following commands to make sure a couple of other dependencies have been installed in your project directory. First, there is a dependency on a ruby gem for CSS keyframe animation. To ensure you have this gem installed run the following:

gem install animation --pre

(note - if you feel like you are not going to be using keyframe animations, you can simply delete the last line of the compass.rb file in the project root)

Next, you will need to install the project dependencies that are listed in the package.json file using the following command:

npm install

Finally, you should be able to get your project up and going by running

gulp build

For livereload functionality, run gulp watch.


Usage:


Feel free to use this code at your leisure for any project, commercial or personal, where it might be useful.


Why Cork?:


It's at the heart of the greatest game of them all.

castello's People

Contributors

caitlynmayers avatar

Stargazers

Michaela avatar

Watchers

Michaela avatar James Cloos avatar  avatar

castello's Issues

Lectures is displaying post

Location

Home

Description

The lectures section of the home page is displaying a blog post. This needs to be investigated.

Search image logic

Location

Search results template

Description

Add logic to detect if post is matter or default and display tax or category image

Older Posts always displays

Location

Any posts page, /matter or /life

Description

The older posts pagination displays on a post listing template even if there aren't old posts to display. Logic needs to be added to hide this until it has pagination to display.

All category link

This is a reminder to fix the all link on the Matter/Life pages when the site is pushed live.

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.