/ Published in: PHP

display an image field in the body/page of a custom post type
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<?php $image = get_field('profile_pic'); ?> <img src="<?php echo $image[url]; ?>" />
Comments
