Skip to content

Instantly share code, notes, and snippets.

/gist:1314838
Created Oct 25, 2011

Embed
What would you like to do?
<?php foreach(get_field('mentors') as $relationship): ?>
<?php $headshot = wp_get_attachment_image_src('headshot', $relationship->ID, true ); ?>
<?php echo $headshot[0] ?>
<?php endforeach; ?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.