Skip to content

Instantly share code, notes, and snippets.

View brichards's full-sized avatar

Brian Richards brichards

View GitHub Profile
@brichards
brichards / wp-config.php
Created May 6, 2013 17:16
WP Debug Setup
<?php
// Enable WP_DEBUG mode
define('WP_DEBUG', true);
// Enable Debug logging to the /wp-content/debug.log file
define('WP_DEBUG_LOG', true);
// Disable display of errors and warnings
define('WP_DEBUG_DISPLAY', false);
@brichards
brichards / SublimeLinter.sublime-settings
Last active December 11, 2015 07:18
Sublime Linter Settings
{
"sublimelinter_delay": 0.5,
"sublimelinter_mark_style": "fill",
"jshint_options" :
{
"evil": true,
"regexdash": true,
"browser": true,
"wsh": true,
"trailing": true,
@luetkemj
luetkemj / wp-query-ref.php
Last active April 25, 2024 09:37
WP: Query $args
// This gist is now maintained on github at https://github.com/luetkemj/wp-query-ref
<?php
/**
* WordPress Query Comprehensive Reference
* Compiled by luetkemj - luetkemj.github.io
*
* CODEX: http://codex.wordpress.org/Class_Reference/WP_Query#Parameters
* Source: https://core.trac.wordpress.org/browser/tags/4.9.4/src/wp-includes/query.php
*/