Home › Forums › Pro Support › Output Custom Field in Div Class › Reply To: Output Custom Field in Div Class
July 30, 2018 at 8:56 pm
#5488
Keymaster
You’d have to change the variable:
$mobile_image = get_field('advertisement_mobile');
Then do this:
<div class="mobile-image">
<?php echo $mobile_image; ?>
</div>
<div class="desktop-image">
<?php echo $image; ?>
</div>