Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /**
- * 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' );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement