Skip to content

Instantly share code, notes, and snippets.

View renventura's full-sized avatar

Ren Ventura renventura

View GitHub Profile
@renventura
renventura / genesis-attributes.php
Last active August 29, 2015 14:13 — forked from salcode/gist:7164690
Custom Genesis Attributes
<?php
/*
* Examples to add custom classes to Genesis WordPress Framework Markup when using HTML5 output
*/
add_action( 'genesis_setup', 'rv_add_cust_classes', 15 ); // Priority 15 ensures it runs after Genesis has been set up
function rv_add_cust_classes() {
add_filter( 'genesis_attr_site-inner', 'rv_attr_site_inner' );
add_filter( 'genesis_attr_content-sidebar-wrap', 'rv_attr_content_sidebar_wrap' );
<?php
/**
* WordPress Query Comprehensive Reference
* Compiled by luetkemj - luetkemj.com
*
* CODEX: http://codex.wordpress.org/Class_Reference/WP_Query
* Source: http://core.trac.wordpress.org/browser/tags/3.3.1/wp-includes/query.php
*/