<?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 4X2 D CAB (2020)
R 289 949
Description
Mileage
94709 km
Year
Fuel Type
DIESEL
Exterior Colour
RED
Transmission
MANUAL
VIN
Vehicle ID
28027603
Features
Range
RANGER
Mileage
94 709 km
Year
2020
Colour
RED
Transmission
MANUAL
Fuel
DIESEL
Body Type
DOUBLE CAB
Doors
4
Service History
None
Vin No.
AFAPXXMJ2PKJ51203
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 289 949
MSRP
Back to search results

https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01644_u29657_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01644_u29657_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01644_u29657_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01644_u29657_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01644_u29657_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01644_u29657_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01644_u29657_7.jpg
FORD
RANGER
(2015)
FORD 2.2 TDCi XL-PLUS 4X4 D/CAB
R 259 900
87 000 km
2015
MANUAL
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
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/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/mol01644_u29657_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01644_u29657_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01644_u29657_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01644_u29657_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01644_u29657_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01644_u29657_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01644_u29657_7.jpg
USED
2015
87 000 km
MANUAL
DIESEL
white
R 259 900

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/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