Skip to content

Instantly share code, notes, and snippets.

<?php
/**
* Plugin Name: YOUR PLUGIN NAME
*/
include( dirname( __FILE__ ) . '/lib/requirements-check.php' );
$your_plugin_requirements_check = new YOUR_PREFIX_Requirements_Check( array(
'title' => 'YOUR PLUGIN NAME',
'php' => '5.4',
@zumek
zumek / sprites
Last active January 3, 2016 07:09
Compass sprite utils
@import "compass/utilities/sprites"; // Include compass sprite helpers
@import "compass/css3/background-size"; // Include helper to calc background size
//@import "lemonade";
$spritePath: "icons/*.png"; //excluding Compass image dir
$spriteMap: false;
$spriteScale: .5; //adjust as needed - .5 for Retina, 1 for normal
//where the magic happens