<?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 BASE 4X2 SUPER CAB (2020)
R 289 949
Description
Mileage
72844 km
Year
Fuel Type
DIESEL
Exterior Colour
PURE WHITE
Transmission
MANUAL
VIN
Vehicle ID
28172817
Features
Range
RANGER
Mileage
72 844 km
Year
2020
Colour
PURE WHITE
Transmission
MANUAL
Fuel
DIESEL
Body Type
EXTENDED CAB
Doors
2
Service History
Full
Vin No.
AFAGXXMJ2GKT45350
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
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/mol01627_u0070964_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01627_u0070964_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01627_u0070964_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01627_u0070964_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01627_u0070964_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01627_u0070964_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01627_u0070964_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01627_u0070964_8.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01627_u0070964_9.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01627_u0070964_10.jpg
FORD
RANGER
(2022)
FORD 2.2 TDCI XL 4X4 S CAB
R 279 890
148 000 km
2022
MANUAL
DIESEL
White

https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_u0070029_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_u0070029_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_u0070029_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_u0070029_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_u0070029_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_u0070029_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_u0070029_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_u0070029_8.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_u0070029_9.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_u0070029_10.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_u0070029_11.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_u0070029_12.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_u0070029_13.jpg
FORD
RANGER
(2018)
FORD 2.2 TDCi XL 4X2 D/CAB AT
R 289 899
188 787 km
2018
AUTOMATIC
DIESEL
White

https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_u0070749_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_u0070749_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_u0070749_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_u0070749_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_u0070749_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_u0070749_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_u0070749_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_u0070749_8.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_u0070749_9.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_u0070749_10.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_u0070749_11.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_u0070749_12.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_u0070749_13.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_u0070749_14.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_u0070749_15.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_u0070749_16.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_u0070749_17.jpg
FORD
RANGER
(2020)
FORD 2.2 TDCI XL 4X2 D CAB AT
R 299 900
144 000 km
2020
AUTOMATIC
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/mol01627_u0070964_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01627_u0070964_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01627_u0070964_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01627_u0070964_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01627_u0070964_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01627_u0070964_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01627_u0070964_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01627_u0070964_8.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01627_u0070964_9.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01627_u0070964_10.jpg
USED
2022
148 000 km
MANUAL
DIESEL
White
R 279 890

https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_u0070029_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_u0070029_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_u0070029_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_u0070029_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_u0070029_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_u0070029_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_u0070029_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_u0070029_8.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_u0070029_9.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_u0070029_10.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_u0070029_11.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_u0070029_12.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_u0070029_13.jpg
USED
2018
188 787 km
AUTOMATIC
DIESEL
White
R 289 899

https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_u0070749_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_u0070749_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_u0070749_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_u0070749_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_u0070749_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_u0070749_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_u0070749_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_u0070749_8.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_u0070749_9.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_u0070749_10.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_u0070749_11.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_u0070749_12.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_u0070749_13.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_u0070749_14.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_u0070749_15.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_u0070749_16.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_u0070749_17.jpg
USED
2020
144 000 km
AUTOMATIC
DIESEL
White
R 299 900

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