-
-
Save tkc49/af32ce37f2db571e6ebb5f43c2f19ba2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php $attachment_id = get_post_meta( $post->ID , 'attachment_01' , true ); ?> | |
<?php if($attachment_id): ?> | |
<?php echo wp_get_attachment_image( $attachment_id, 'full'); ?> | |
<?php endif; ?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment