I want to display the Title/Description/Caption of custom images on my homepage, here is the current code in functions.php file that only displays the image:
<div class="partners-logoarea">
<?php
for ( $count = 1; $count <= 6; $count++ ) {
$logo = get_theme_mod( 'unicon_lite_our_partners_logo_'.$count );
?>
<div class="partners_<?php echo $count; ?>">
<img src="<?php echo esc_url($logo); ?>" alt="<?php echo esc_html__('Partner Logo', 'unicon-lite'); ?>" /><br/>
</div>
<?php } ?>
</div>
What code do I need to add to display each images Title/Description/Caption?