Skip to content

Instantly share code, notes, and snippets.

View beaver-builder-lf
<?php
//* Add beaver-page body class
add_filter( 'body_class', 'beaver_body_class' );
function beaver_body_class( $classes ) {
$classes[] = 'beaver-page';
return $classes;
}
@Kellylise
Kellylise / gist:3aaaa823ab1b80188e3e
Created Nov 20, 2014
Sensei single-lesson for Genesis
View gist:3aaaa823ab1b80188e3e
<?php
/**
* The Template for displaying all Sensei single lessons.
*
* Override this template by copying it to yourtheme/sensei/single-lesson.php
*
* @author KLM
* @package Sensei/Templates for Genesis and Dynamik-Gen based on Genesis Connect for WooC
* @version 1.0.1
*/
@Kellylise
Kellylise / 0_reuse_code.js
Created Jun 9, 2014
Here are some things you can do with Gists in GistBox.
View 0_reuse_code.js
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
You can’t perform that action at this time.