<?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 MY23 3.0 V6 PANAMERICANA D CAB 4MOTIO (2025)
R 1 224 799
Description
Mileage
11 km
Year
Fuel Type
DIESEL
Exterior Colour
BRIGHT BEIGE METALLIC
Transmission
AUTOMATIC
VIN
Vehicle ID
28378732
Features
Range
AMAROK
Mileage
11 km
Year
2025
Colour
BRIGHT BEIGE METALLIC
Transmission
AUTOMATIC
Fuel
DIESEL
Body Type
DOUBLE CAB
Doors
4
Service History
Full
Vin No.
WV4ZZZT12SS011104
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 1 224 799
MSRP
Call Now
Available from Barons Pietermaritzburg
9 Armitage Rd, Town Hill, Pietermaritzburg, 3201, South Africa
Back to search results

https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10136_u0070116_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10136_u0070116_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10136_u0070116_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10136_u0070116_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10136_u0070116_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10136_u0070116_9.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10136_u0070116_10.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10136_u0070116_14.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10136_u0070116_16.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10136_u0070116_17.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10136_u0070116_18.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10136_u0070116_19.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10136_u0070116_20.jpg
USED
2018
131 684 km
AUTOMATIC
DIESEL
WHITE
R 449 900

https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_u0070079_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_u0070079_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_u0070079_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_u0070079_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_u0070079_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_u0070079_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_u0070079_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_u0070079_8.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_u0070079_9.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_u0070079_10.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_u0070079_11.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_u0070079_12.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_u0070079_13.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_u0070079_14.jpg
USED
2022
146 000 km
AUTOMATIC
DIESEL
White
R 459 900

https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_ud0050176_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_ud0050176_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_ud0050176_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_ud0050176_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_ud0050176_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_ud0050176_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_ud0050176_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_ud0050176_8.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_ud0050176_9.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_ud0050176_10.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_ud0050176_11.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_ud0050176_12.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_ud0050176_13.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_ud0050176_14.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_ud0050176_15.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_ud0050176_16.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_ud0050176_17.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_ud0050176_18.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_ud0050176_19.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_ud0050176_20.jpg
DEMO
2025
27 000 km
MANUAL
DIESEL
WHITE
R 479 950

https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01443_u0070909_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01443_u0070909_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01443_u0070909_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01443_u0070909_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01443_u0070909_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01443_u0070909_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01443_u0070909_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01443_u0070909_8.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01443_u0070909_9.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01443_u0070909_10.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01443_u0070909_11.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01443_u0070909_12.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01443_u0070909_13.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01443_u0070909_14.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01443_u0070909_15.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01443_u0070909_16.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01443_u0070909_17.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01443_u0070909_18.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01443_u0070909_19.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01443_u0070909_20.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01443_u0070909_21.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01443_u0070909_22.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01443_u0070909_23.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01443_u0070909_24.jpg
USED
2022
178 000 km
AUTOMATIC
DIESEL
ATLANTIC BLUE METALL
R 485 500