Skip to content

Instantly share code, notes, and snippets.

@topleague
Created September 27, 2017 11:54
Show Gist options
  • Save topleague/9d5cfd7f1d25c41807ebac9b4a162461 to your computer and use it in GitHub Desktop.
Save topleague/9d5cfd7f1d25c41807ebac9b4a162461 to your computer and use it in GitHub Desktop.
Add a Class to Entry
//* Add class to .entry
add_filter( 'genesis_attr_entry', 'susanta_animate_entry' );
function susanta_animate_entry( $attributes ) {
$attributes['class'] = $attributes['class']. ' animate-entry MoveUp';
return $attributes;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment