Skip to content

Instantly share code, notes, and snippets.


Mandi Wise mandiwise

  • Edmonton, Canada
View GitHub Profile
redoPop / .gitignore
Created Jun 18, 2010
Template .gitignore file for WordPress projects
View .gitignore
# This is a template .gitignore file for git-managed WordPress projects.
# Fact: you don't want WordPress core files, or your server-specific
# configuration files etc., in your project's repository. You just don't.
# Solution: stick this file up your repository root (which it assumes is
# also the WordPress root directory) and add exceptions for any plugins,
# themes, and other directories that should be under version control.
# See the comments below for more info on how to add exceptions for your
View sass_and_less_compared.markdown

Sass/Less Comparison

In this document I am using Sass's SCSS syntax. You can choose to use the indented syntax in sass, if you prefer it, it has no functional differences from the SCSS syntax.

For Less, I'm using the JavaScript version because this is what they suggest on the website. The ruby version may be different.


eteubert / abstract-example.php
Created Oct 31, 2011
WordPress: Customize Page & Post Metaboxes
View abstract-example.php
$wp_meta_boxes[ 'post' ][ 'normal' ][ 'core' ][ 'post excerpt' ][ 'title' ] = 'Abstract';
$wp_meta_boxes[ 'post' ][ 'normal' ][ 'core' ][ 'post excerpt' ][ 'id' ] = 'postabstract';
View wp-query-ref.php
// This gist is now maintained on github at
* WordPress Query Comprehensive Reference
* Compiled by luetkemj -
* Source:

Tiny Content Framework

About the project

This is a tiny content strategy framework focused on goals, messages, and branding. This is not a checklist. Use what you need and scrap the rest. Rewrite it or add to it. These topics should help you get to the bottom of things with clients and other people you work with.

Give me feedback on Twitter (@nicoleslaw) or by email (


nachiket-p / meteor_servercall.html
Created Jun 21, 2012
Meteor: Calling server method from client
View meteor_servercall.html
{{> simple}}
{{> passData}}
<template name="simple">
niallo / gist:3109252
Created Jul 14, 2012
Parse Github `Links` header in JavaScript
View gist:3109252
* parse_link_header()
* Parse the Github Link HTTP header used for pageination
function parse_link_header(header) {
if (header.length == 0) {
throw new Error("input must not be of zero length");
spivurno / gw-gravity-forms-random-field-order.php
Last active Nov 26, 2020
Gravity Wiz // Gravity Forms // Random Field Order
View gw-gravity-forms-random-field-order.php
* The latest version of this snippet can be found in the Gravity Wiz Snippet Library:
* Gravity Wiz // Gravity Forms // Random Fields
* Randomly display a specified number of fields on your form.
spivurno / gist:3710653
Created Sep 12, 2012
Gravity Wiz // Limit IP to One Submission Per Time Period
View gist:3710653
* Limit IP to One Submission Per Time Period
$gws_limit_message = 'You may only submit this form once every 24 hours.';
$gws_limit_time = 86400; // must be specified in seconds; 86400 seconds is equal to 24 hours
kasparsd /
Last active Dec 17, 2020
Using Git with Subversion Mirroring for WordPress Plugin Development
You can’t perform that action at this time.