<?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, } } }); });
Pre-Owned
VOLKSWAGEN MY23 1.4 TSI DESIGN TIPTRONIC (2024)
R 489 990
Description
Mileage
43540 km
Year
Fuel Type
UNLEADED
Exterior Colour
PURE WHITE
Transmission
AUTOMATIC
VIN
Vehicle ID
28233732
Features
Range
T-ROC
Mileage
43 540 km
Year
2024
Colour
PURE WHITE
Transmission
AUTOMATIC
Fuel
UNLEADED
Body Type
STATION WAGON
Doors
5
Service History
Vin No.
WVGZZZA1ZPV546227
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/mol01386_u0071025_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01386_u0071025_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01386_u0071025_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01386_u0071025_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01386_u0071025_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01386_u0071025_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01386_u0071025_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01386_u0071025_8.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01386_u0071025_9.jpg
USED
2022
55 400 km
AUTOMATIC
UNLEADED
PURE WHITE
R 389 900

https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01625_u0070073_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01625_u0070073_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01625_u0070073_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01625_u0070073_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01625_u0070073_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01625_u0070073_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01625_u0070073_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01625_u0070073_8.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01625_u0070073_9.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01625_u0070073_10.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01625_u0070073_11.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01625_u0070073_12.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01625_u0070073_13.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01625_u0070073_14.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01625_u0070073_15.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01625_u0070073_16.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01625_u0070073_17.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01625_u0070073_18.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01625_u0070073_19.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01625_u0070073_20.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01625_u0070073_21.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01625_u0070073_22.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01625_u0070073_23.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01625_u0070073_24.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01625_u0070073_25.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01625_u0070073_26.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01625_u0070073_27.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01625_u0070073_28.jpg
USED
2021
140 000 km
AUTOMATIC
UNLEADED
WHITE
R 409 990

https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01342_u0071058_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01342_u0071058_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01342_u0071058_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01342_u0071058_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01342_u0071058_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01342_u0071058_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01342_u0071058_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01342_u0071058_8.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01342_u0071058_9.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01342_u0071058_10.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01342_u0071058_11.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01342_u0071058_12.jpg
USED
2022
87 990 km
AUTOMATIC
UNLEADED
PURE WHITE
R 419 899

https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01339_u0070736_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01339_u0070736_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01339_u0070736_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01339_u0070736_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01339_u0070736_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01339_u0070736_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01339_u0070736_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01339_u0070736_8.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01339_u0070736_9.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01339_u0070736_10.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01339_u0070736_11.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01339_u0070736_12.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01339_u0070736_13.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01339_u0070736_14.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01339_u0070736_15.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01339_u0070736_16.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01339_u0070736_17.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01339_u0070736_18.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01339_u0070736_19.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01339_u0070736_20.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01339_u0070736_21.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01339_u0070736_22.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01339_u0070736_23.jpg
USED
2022
23 878 km
AUTOMATIC
UNLEADED
White
R 419 950