Skip to content

Instantly share code, notes, and snippets.

@Dirtyern12
Last active December 14, 2015 00:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save Dirtyern12/5001288 to your computer and use it in GitHub Desktop.
Save Dirtyern12/5001288 to your computer and use it in GitHub Desktop.
function wps_do_pitbull_image_one() {
wps_id_open( 'pitbull_image_one' );
global $post;
wps_id_open( 'pitbull_image_one' );
echo wp_get_attachment_image($pitbull_image_one_id, 'smallersquare', false, array( 'class' => 'blah', 'alt' => trim (strip_tags( get_post_meta($attachment_id, '_wp_attachment_image_alt', true) ), ) );
wps_div_close();
wps_div_close();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment