Skip to content

Instantly share code, notes, and snippets.

View erwstout's full-sized avatar
🧨

Eric Stout erwstout

🧨
View GitHub Profile
@erwstout
erwstout / gulpfile.js
Created January 15, 2016 16:22
Example Gulpfile
// Theme Specific Variables
var theme = 'your-theme-name';
// Include gulp
var gulp = require('gulp');
// Include Our Plugins
var jshint = require('gulp-jshint');
var sass = require('gulp-sass');
var concat = require('gulp-concat');
@erwstout
erwstout / index.php
Created November 10, 2015 06:05
index
<?php get_header(); ?>
<?php
if(have_posts()) : the_post();
$boxAd = get_post_meta($post->ID, 'box_ad', $single = true);
?>
<article <?php post_class() ?> id="post-<?php the_ID(); ?>">
<!-- Testing Featured Image -->
@erwstout
erwstout / single.php
Created November 10, 2015 06:04
Single.php
<?php get_header(); ?>
<?php
if (have_posts()) : while (have_posts()) : the_post();
$boxAd = get_post_meta($post->ID, 'box_ad', $single = true);
@erwstout
erwstout / header.php
Created November 10, 2015 06:04
Header
<!DOCTYPE html>
<!--[if lt IE 7 ]> <html class="ie ie6 no-js" <?php language_attributes(); ?>> <![endif]-->
<!--[if IE 7 ]> <html class="ie ie7 no-js" <?php language_attributes(); ?>> <![endif]-->
<!--[if IE 8 ]> <html class="ie ie8 no-js" <?php language_attributes(); ?>> <![endif]-->
@erwstout
erwstout / SassMeister-input.scss
Created October 20, 2015 19:44
Generated by SassMeister.com.
// ----
// libsass (v3.2.5)
// ----
//colors
$red: #e4002b;
$drk-red: #b4002b;
$maroon: #76232f;
$cream: #b0aa7e;
$baby-poop: #b5bd00;
@erwstout
erwstout / SassMeister-input-HTML.html
Created April 1, 2015 02:34
Generated by SassMeister.com.
<div class="container">
<div class="row hero"></div>
</div>