Skip to content

Instantly share code, notes, and snippets.

@JiveDig
Created September 8, 2014 20:49
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save JiveDig/46fdff40688b79153d4e to your computer and use it in GitHub Desktop.
Save JiveDig/46fdff40688b79153d4e to your computer and use it in GitHub Desktop.
Add class to .content in Genesis
<?php
//* Add class to .content
add_filter( 'genesis_attr_content', 'beatm_facetwp_class' );
function beatm_facetwp_class( $attributes ) {
$attributes['class'] = $attributes['class']. ' facetwp-template';
return $attributes;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment