Skip to content

Instantly share code, notes, and snippets.

Created August 13, 2013 22:41
What would you like to do?
* Remove Image Alignment from Featured Image
function be_remove_image_alignment( $attributes ) {
$attributes['class'] = str_replace( 'alignleft', 'alignnone', $attributes['class'] );
return $attributes;
add_filter( 'genesis_attr_entry-image', 'be_remove_image_alignment' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment