<?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 VIVO HATCH MY25 1.4 LIFE (2025)
R 288 999
Description
Unleash the joy of driving with our Polo Vivo.
Experience the perfect blend of style, comfort and economic performance.
Low mileage, high, high satisfaction - seize this opportunity for a test drive and elevate your driving experience with the Polo Vivo 1.
4.
Mileage
1500 km
Year
Fuel Type
UNLEADED
Exterior Colour
ASCOT GRAY
Transmission
MANUAL
VIN
Vehicle ID
28378930
Features
Range
POLO
Mileage
1 500 km
Year
2025
Colour
ASCOT GRAY
Transmission
MANUAL
Fuel
UNLEADED
Body Type
HATCH
Doors
5
Service History
Full
Vin No.
AAVZZZ6R1SU027104
Comments
Unleash the joy of driving with our Polo Vivo.
Experience the perfect blend of style, comfort and economic performance.
Low mileage, high, high satisfaction - seize this opportunity for a test drive and elevate your driving experience with the Polo Vivo 1.
4.
<?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 288 999
MSRP
Call Now
Available from Barons N1 City
Cnr Giel Basson and, Nathan Mallach St, N1 City, Cape Town, 7500, South Africa
Back to search results

https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071474_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071474_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071474_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071474_8.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071474_9.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071474_10.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071474_11.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071474_12.jpg
USED
2018
95 905 km
MANUAL
UNLEADED
Reflex Silver
R 148 999

https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01342_u0071139_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01342_u0071139_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01342_u0071139_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01342_u0071139_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01342_u0071139_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01342_u0071139_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01342_u0071139_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01342_u0071139_8.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01342_u0071139_9.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01342_u0071139_10.jpg
USED
2012
112 438 km
MANUAL
UNLEADED
MEDIUM SILVER METALL
R 169 900

https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0070840_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0070840_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0070840_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0070840_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0070840_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0070840_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0070840_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0070840_8.jpg
USED
2015
155 200 km
AUTOMATIC
UNLEADED
SILVER
R 179 950

https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071403_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071403_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071403_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071403_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071403_5.jpg
USED
2021
83 883 km
MANUAL
UNLEADED
Silver
R 188 999