Skip to content

Instantly share code, notes, and snippets.

@GaryJones
Forked from Dirtyern12/gist:4982170
Last active December 13, 2015 22:08
Show Gist options
  • Save GaryJones/4982177 to your computer and use it in GitHub Desktop.
Save GaryJones/4982177 to your computer and use it in GitHub Desktop.
<?php
// Replace your current wps_do_pitbull_image_three() with:
function wps_do_pitbull_image_three() {
wps_id_open( 'pitbull_image_three' );
global $post;
wps_id_open( 'pitbull_image_three' );
echo '<p><img src="' .get_post_meta( $post->ID, '_d2c_pitbull_image_three', true ).'" /></p>';
wps_div_close();
wps_div_close();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment