@emma233
In footer.php
You will replace original code that only get images from folder and show them:
<?php
$sponsor_path = osc_base_path() . 'oc-content/themes/' . osc_current_web_theme() . '/images/sponsor-logos';
$sponsor_url = osc_base_url() . 'oc-content/themes/' . osc_current_web_theme() . '/images/sponsor-logos';
$sponsor_images = scandir($sponsor_path);
if(isset($sponsor_images) && !empty($sponsor_images) && $sponsor_images <> '') {
foreach($sponsor_images as $img) {
$ext = strtolower(pathinfo($sponsor_path . '/' . $img, PATHINFO_EXTENSION));
$allowed_ext = array('png', 'jpg', 'jpeg', 'gif');
if(in_array($ext, $allowed_ext)) {
echo '<img class="sponsor-image" src="' . $sponsor_url . '/' . $img . '" alt="' . __('Our sponsor logo', 'zara') . '" />';
}
}
}
?>
with links.