Skip to content

Instantly share code, notes, and snippets.

@braddalton
Forked from billerickson/functions.php
Last active January 1, 2016 18:39
Show Gist options
  • Save braddalton/8185340 to your computer and use it in GitHub Desktop.
Save braddalton/8185340 to your computer and use it in GitHub Desktop.
add_filter( 'genesis_attr_entry-image', 'be_remove_image_alignment' );
function be_remove_image_alignment( $attributes ) {
$attributes['class'] = str_replace( 'alignleft', 'alignnone', $attributes['class'] );
return $attributes;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment