Answers for "acf image showing id instead of url"

1

acf image showing id instead of url

<?php 
$image = get_field('image');
$size = 'full'; // (thumbnail, medium, large, full or custom size)
if( $image ) {
    echo wp_get_attachment_image( $image, $size );
}
Posted by: Guest on June-19-2020

Browse Popular Code Answers by Language