<?php
$post_id = get_the_id();
// echo print_r(get_vehicle_gallery_images());
$image_urls = get_post_meta($post_id, 'pictures', true);
if (is_string($image_urls)) {
$images = explode(',', $image_urls);
} elseif (is_array($image_urls)) {
$images = $image_urls;
} else {
$images = [];
}
if (!empty($images)): ?>
<div class="vehicle-gallery">
<?php foreach ($images as $index => $img_url): ?>
<a href="<?php echo esc_url(trim($img_url)); ?>" class="glightbox" data-gallery="vehicle-gallery">
<?php if ($index === 0): ?>
<img src="<?php echo esc_url(trim($img_url)); ?>" alt="Vehicle Image" class="gallery-main-image" />
<?php else: ?>
<img src="<?php echo esc_url(trim($img_url)); ?>" alt="Gallery Thumb" class="gallery-thumb" />
<?php endif; ?>
</a>
<?php endforeach; ?>
</div>
<?php endif; ?>
document.addEventListener('DOMContentLoaded', function () {
new Swiper('.vehicle-gallery', {
slidesPerView: 5,
spaceBetween: 10,
loop: true,
navigation: {
nextEl: '.swiper-button-next',
prevEl: '.swiper-button-prev',
},
breakpoints: {
768: {
slidesPerView: 3,
},
480: {
slidesPerView: 2,
}
}
});
});
Ford RANGER 2.3 SPORT A/T D/C P/U
2026 Ford Ranger 2.3 Sport 4×2 A/T D/C P/U — Carbonised Grey
Brand-new condition Ford Ranger Sport Double Cab in Carbonised Grey. Powered by the responsive 2.3L engine paired with a smooth automatic transmission, this Sport-specification Ranger combines everyday practicality with distinctive styling.
Highlights:
2.3L engine — responsive power with good efficiency
Smooth-shifting automatic transmission
Double Cab body style — practical space for passengers and cargo
Sport specification — distinctive styling and enhanced features
Essentially brand new — full factory warranty from new
Condition:
As-new condition — no dents, scratches, or mechanical issues.
Take advantage of near-new savings with standout Sport styling — contact us today to arrange a viewing or test drive.




















