Word press display image fieled with Type plgin +Custom post type Ui

/ Published in: PHP
Save to your folder(s)

display an image field in the body/page of a custom post type

Copy this code and paste it in your HTML
  1. <?php $image = get_field('profile_pic'); ?>
  2. <img src="<?php echo $image[url]; ?>" />

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.