<?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
TOYOTA 1.0 XR AMT (2024)
R 194 999
Description
Mileage
15043 km
Year
Fuel Type
UNLEADED
Exterior Colour
Mystic Pearl White (ZHJ)
Transmission
AUTOMATIC
VIN
Vehicle ID
28131097
Features
Range
VITZ
Mileage
15 043 km
Year
2024
Colour
Mystic Pearl White (ZHJ)
Transmission
AUTOMATIC
Fuel
UNLEADED
Body Type
HATCH
Doors
5
Service History
None
Vin No.
JTDVFN62S00306951
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 194 999
MSRP
Call Now
Available from NMI Toyota Stellenbosch
99 Bird St, La Colline, Stellenbosch, 7600, South Africa
Back to search results

https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01645_u0070411_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01645_u0070411_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01645_u0070411_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01645_u0070411_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01645_u0070411_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01645_u0070411_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01645_u0070411_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01645_u0070411_8.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01645_u0070411_9.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01645_u0070411_10.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01645_u0070411_11.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01645_u0070411_12.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01645_u0070411_13.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01645_u0070411_14.jpg
TOYOTA
VITZ
(2023)
TOYOTA 1.0 XR
R 174 899
38 968 km
2023
MANUAL
UNLEADED
RED

https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01645_u0070412_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01645_u0070412_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01645_u0070412_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01645_u0070412_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01645_u0070412_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01645_u0070412_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01645_u0070412_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01645_u0070412_8.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01645_u0070412_9.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01645_u0070412_10.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01645_u0070412_11.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01645_u0070412_12.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01645_u0070412_13.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01645_u0070412_14.jpg
TOYOTA
VITZ
(2023)
TOYOTA 1.0 XR
R 174 899
38 433 km
2023
MANUAL
UNLEADED
SILVER

https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10172_u500199_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10172_u500199_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10172_u500199_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10172_u500199_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10172_u500199_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10172_u500199_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10172_u500199_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10172_u500199_8.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10172_u500199_9.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10172_u500199_10.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10172_u500199_11.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10172_u500199_12.jpg
TOYOTA
VITZ
(2023)
TOYOTA 1.0 XR AMT
R 189 950
32 412 km
2023
AUTOMATIC
UNLEADED
white

https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10127_u502234_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10127_u502234_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10127_u502234_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10127_u502234_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10127_u502234_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10127_u502234_6.jpg
TOYOTA
VITZ
(2025)
TOYOTA 1.0 XR AMT
R 239 900
10 000 km
2025
AUTOMATIC
UNLEADED
White

https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01645_u0070411_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01645_u0070411_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01645_u0070411_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01645_u0070411_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01645_u0070411_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01645_u0070411_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01645_u0070411_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01645_u0070411_8.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01645_u0070411_9.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01645_u0070411_10.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01645_u0070411_11.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01645_u0070411_12.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01645_u0070411_13.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01645_u0070411_14.jpg
USED
2023
38 968 km
MANUAL
UNLEADED
RED
R 174 899

https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01645_u0070412_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01645_u0070412_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01645_u0070412_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01645_u0070412_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01645_u0070412_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01645_u0070412_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01645_u0070412_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01645_u0070412_8.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01645_u0070412_9.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01645_u0070412_10.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01645_u0070412_11.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01645_u0070412_12.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01645_u0070412_13.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01645_u0070412_14.jpg
USED
2023
38 433 km
MANUAL
UNLEADED
SILVER
R 174 899

https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10172_u500199_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10172_u500199_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10172_u500199_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10172_u500199_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10172_u500199_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10172_u500199_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10172_u500199_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10172_u500199_8.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10172_u500199_9.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10172_u500199_10.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10172_u500199_11.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10172_u500199_12.jpg
USED
2023
32 412 km
AUTOMATIC
UNLEADED
white
R 189 950

https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10127_u502234_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10127_u502234_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10127_u502234_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10127_u502234_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10127_u502234_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10127_u502234_6.jpg
USED
2025
10 000 km
AUTOMATIC
UNLEADED
White
R 239 900