Last active
August 29, 2015 14:14
-
-
Save jacobwise/d4f2d2b6feaa19425483 to your computer and use it in GitHub Desktop.
Revisions
-
jacobwise revised this gist
Jan 29, 2015 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -6,7 +6,7 @@ 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' ); -
jacobwise revised this gist
Jan 29, 2015 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -4,7 +4,7 @@ */ function jw_entry_content_class( $attributes ) { if ( is_tax( $taxonomy ) ) $attributes['class'] .= ' show-entry'; return $attributes; -
jacobwise created this gist
Jan 29, 2015 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,12 @@ /** * Add and extra class to the entry-content div * */ function jw_entry_content_class( $attributes ) { if ( is_tax( 'precast_product_category' ) ) $attributes['class'] .= ' show-entry'; return $attributes; } add_filter( 'genesis_attr_entry', 'jw_entry_content_class' );