Last active
August 29, 2015 14:14
-
-
Save jacobwise/d4f2d2b6feaa19425483 to your computer and use it in GitHub Desktop.
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
/** | |
* Add and extra class to the entry-content div | |
* | |
*/ | |
function jw_entry_content_class( $attributes ) { | |
if ( is_tax( $taxonomy ) ) | |
$attributes['class'] .= $class_to_add; | |
return $attributes; | |
} | |
add_filter( 'genesis_attr_entry', 'jw_entry_content_class' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment