<?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, } } }); });
DEMO
VOLKSWAGEN 5 KOMBI MY22 2.0 TDI (2025)
R 489 990
Description
Mileage
14540 km
Year
Fuel Type
DIESEL
Exterior Colour
CANDY WHITE
Transmission
MANUAL
VIN
Vehicle ID
28131911
Features
Range
CADDY
Mileage
14 540 km
Year
2025
Colour
CANDY WHITE
Transmission
MANUAL
Fuel
DIESEL
Body Type
MINIBUS
Doors
4
Service History
None
Vin No.
WV2ZZZSK7RX093556
Comments
<?php $post_id = get_the_id(); $custom_fields = get_post_meta($post_id); echo $custom_fields['mmcode'][0] . '<br />'; echo print_r($custom_fields); if (empty($custom_fields)) { error_log("No custom fields found for post ID: $post_id"); return; } error_log("Custom fields for post ID $post_id:"); foreach ($custom_fields as $key => $value) { // $value is always an array if (is_array($value)) { foreach ($value as $val) { error_log("$key => $val"); } } else { error_log("$key => $value"); } } ?>
Back to search results
R 489 990
MSRP
Back to search results

https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071161_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071161_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071161_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071161_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071161_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071161_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071161_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071161_8.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071161_9.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071161_10.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071161_11.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071161_12.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071161_13.jpg
VOLKSWAGEN
CADDY
(2024)
VOLKSWAGEN 5 MY22 1.6i
R 378 999
8 863 km
2024
MANUAL
UNLEADED
Cherry Red

https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01342_u0071088_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01342_u0071088_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01342_u0071088_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01342_u0071088_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01342_u0071088_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01342_u0071088_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01342_u0071088_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01342_u0071088_8.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01342_u0071088_9.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01342_u0071088_10.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01342_u0071088_11.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01342_u0071088_12.jpg
VOLKSWAGEN
CADDY
(2024)
VOLKSWAGEN 5 KOMBI MY22 1.6i
R 379 900
24 631 km
2024
MANUAL
UNLEADED
WHITE

https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071174_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071174_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071174_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071174_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071174_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071174_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071174_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071174_8.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071174_9.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071174_10.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071174_11.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071174_12.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071174_13.jpg
VOLKSWAGEN
CADDY
(2024)
VOLKSWAGEN 5 MY22 1.6i
R 399 000
10 847 km
2024
MANUAL
UNLEADED
Candy White

https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071164_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071164_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071164_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071164_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071164_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071164_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071164_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071164_8.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071164_9.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071164_10.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071164_11.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071164_12.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071164_13.jpg
VOLKSWAGEN
CADDY
(2022)
VOLKSWAGEN 5 MY22 1.6i
R 399 000
8 123 km
2022
MANUAL
UNLEADED
Costa Azul Metallic

https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071161_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071161_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071161_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071161_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071161_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071161_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071161_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071161_8.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071161_9.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071161_10.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071161_11.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071161_12.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071161_13.jpg
USED
2024
8 863 km
MANUAL
UNLEADED
Cherry Red
R 378 999

https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01342_u0071088_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01342_u0071088_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01342_u0071088_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01342_u0071088_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01342_u0071088_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01342_u0071088_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01342_u0071088_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01342_u0071088_8.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01342_u0071088_9.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01342_u0071088_10.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01342_u0071088_11.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01342_u0071088_12.jpg
USED
2024
24 631 km
MANUAL
UNLEADED
WHITE
R 379 900

https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071174_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071174_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071174_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071174_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071174_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071174_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071174_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071174_8.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071174_9.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071174_10.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071174_11.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071174_12.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071174_13.jpg
USED
2024
10 847 km
MANUAL
UNLEADED
Candy White
R 399 000

https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071164_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071164_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071164_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071164_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071164_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071164_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071164_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071164_8.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071164_9.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071164_10.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071164_11.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071164_12.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071164_13.jpg
USED
2022
8 123 km
MANUAL
UNLEADED
Costa Azul Metallic
R 399 000