Created
September 8, 2014 20:49
-
-
Save JiveDig/46fdff40688b79153d4e to your computer and use it in GitHub Desktop.
Add class to .content in Genesis
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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