<?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
FORD 2.2 TDCi XL-PLUS 4X4 D/CAB (2015)
R 259 900
Description
Mileage
87000 km
Year
Fuel Type
DIESEL
Exterior Colour
white
Transmission
MANUAL
VIN
Vehicle ID
27973370
Features
Range
RANGER
Mileage
87 000 km
Year
2015
Colour
white
Transmission
MANUAL
Fuel
DIESEL
Body Type
DOUBLE CAB
Doors
4
Service History
None
Vin No.
AFAPXXMJ2PFT10339
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 259 900
MSRP
Back to search results

https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01630_u0070896_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01630_u0070896_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01630_u0070896_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01630_u0070896_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01630_u0070896_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01630_u0070896_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01630_u0070896_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01630_u0070896_8.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01630_u0070896_9.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01630_u0070896_10.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01630_u0070896_11.jpg
FORD
RANGER
(2019)
FORD 2.2 TDCI XL 4X2 S CAB
R 259 949
86 490 km
2019
MANUAL
DIESEL
White

https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01630_u0070883_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01630_u0070883_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01630_u0070883_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01630_u0070883_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01630_u0070883_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01630_u0070883_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01630_u0070883_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01630_u0070883_8.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01630_u0070883_9.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01630_u0070883_10.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01630_u0070883_11.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01630_u0070883_12.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01630_u0070883_13.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01630_u0070883_14.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01630_u0070883_15.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01630_u0070883_16.jpg
FORD
RANGER
(2020)
FORD 2.2 TDCI XL 4X2 D CAB
R 289 949
94 657 km
2020
MANUAL
DIESEL
RED

https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10019_u0071236_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10019_u0071236_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10019_u0071236_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10019_u0071236_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10019_u0071236_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10019_u0071236_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10019_u0071236_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10019_u0071236_8.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10019_u0071236_9.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10019_u0071236_10.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10019_u0071236_11.jpg
FORD
RANGER
(2020)
FORD 2.2 TDCI XL 4X2 D CAB
R 299 800
104 000 km
2020
MANUAL
DIESEL
WHITE

https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01343_u0070651_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01343_u0070651_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01343_u0070651_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01343_u0070651_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01343_u0070651_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01343_u0070651_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01343_u0070651_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01343_u0070651_8.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01343_u0070651_9.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01343_u0070651_10.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01343_u0070651_11.jpg
FORD
RANGER
(2019)
FORD 2.2 TDCi XL 4X2 D/CAB AT
R 299 950
122 700 km
2019
AUTOMATIC
DIESEL
WHITE

https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01630_u0070896_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01630_u0070896_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01630_u0070896_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01630_u0070896_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01630_u0070896_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01630_u0070896_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01630_u0070896_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01630_u0070896_8.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01630_u0070896_9.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01630_u0070896_10.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01630_u0070896_11.jpg
USED
2019
86 490 km
MANUAL
DIESEL
White
R 259 949

https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01630_u0070883_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01630_u0070883_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01630_u0070883_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01630_u0070883_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01630_u0070883_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01630_u0070883_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01630_u0070883_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01630_u0070883_8.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01630_u0070883_9.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01630_u0070883_10.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01630_u0070883_11.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01630_u0070883_12.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01630_u0070883_13.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01630_u0070883_14.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01630_u0070883_15.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01630_u0070883_16.jpg
USED
2020
94 657 km
MANUAL
DIESEL
RED
R 289 949

https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10019_u0071236_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10019_u0071236_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10019_u0071236_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10019_u0071236_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10019_u0071236_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10019_u0071236_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10019_u0071236_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10019_u0071236_8.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10019_u0071236_9.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10019_u0071236_10.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10019_u0071236_11.jpg
USED
2020
104 000 km
MANUAL
DIESEL
WHITE
R 299 800

https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01343_u0070651_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01343_u0070651_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01343_u0070651_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01343_u0070651_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01343_u0070651_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01343_u0070651_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01343_u0070651_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01343_u0070651_8.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01343_u0070651_9.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01343_u0070651_10.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01343_u0070651_11.jpg
USED
2019
122 700 km
AUTOMATIC
DIESEL
WHITE
R 299 950