<?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,
}
}
});
});
FORD RANGER 2.0D SIT XLT A/T D/C P/U (2026)
FORD
R 584 890
Range:
RANGER 2.0D SIT XLT A/T D/C P/U
Year:
2026
Mileage:
6 000 km
Colour:
CARBONIZED GREY
Transmission:
AUTOMATICMANUAL
Fuel:
DieselPtrol
Vehicle ID:
29464164
Unbeatable Value and Reliability
This used vehicle offers outstanding performance and versatility for both work and leisure. Enjoy a comfortable ride with ample space for passengers and cargo. Its robust design ensures durability, making it a smart choice for any adventure.
Experience peace of mind with a vehicle that combines functionality and style. Ideal for those seeking quality and affordability. Don’t miss out on this opportunity to own a reliable vehicle at a great price.
Mileage is recorded at the time of advertising and may vary.
Key highlights:
– Used condition
– Spacious interior
– Robust design
– Ideal for work and leisure
– Exceptional performance
– Affordable pricing
Trust in NMI for quality vehicles that meet your needs.
Available from NMI Ford Pietermaritzburg
<?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");
}
}
?>Call Now
Available from Pietermaritzburg
NMI Ford Pieternaritzburg, Chatterton Road, Town Hill, Pietermaritzburg, KwaZulu-Natal, 3200, South Africa
Similar Listings
https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01627_u0071399_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01627_u0071399_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01627_u0071399_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01627_u0071399_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01627_u0071399_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01627_u0071399_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01627_u0071399_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01627_u0071399_8.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01627_u0071399_9.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01627_u0071399_10.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01627_u0071399_11.jpg
FORD
RANGER 2.0D SIT XLT A/T D/C P/U
(2026)
FORD
<?php $post_id = get_the_id(); $post_meta = get_post_meta($post_id); echo print_r($post_meta); ?>
AFAPXXMJ2PTS61652
AFAPXXMJ2PTS61652
Colour: CARBONIZED GREY
MOL01627
29464163
29464163
Enquire
<?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");
}
}
?>
https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_ud0050355_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_ud0050355_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_ud0050355_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_ud0050355_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_ud0050355_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_ud0050355_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_ud0050355_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_ud0050355_8.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_ud0050355_9.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_ud0050355_10.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_ud0050355_11.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_ud0050355_12.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_ud0050355_13.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_ud0050355_14.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_ud0050355_15.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_ud0050355_16.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_ud0050355_17.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_ud0050355_18.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_ud0050355_19.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_ud0050355_20.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_ud0050355_21.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_ud0050355_22.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_ud0050355_23.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_ud0050355_24.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_ud0050355_25.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_ud0050355_26.jpg
FORD
RANGER 2.0D SIT XLT A/T D/C P/U
(2026)
FORD
<?php $post_id = get_the_id(); $post_meta = get_post_meta($post_id); echo print_r($post_meta); ?>
AFAPXXMJ2PTS58101
AFAPXXMJ2PTS58101
Colour: Frozen White
MOL01634
29465827
29465827
Enquire
<?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");
}
}
?>
https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01627_ud0050301_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01627_ud0050301_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01627_ud0050301_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01627_ud0050301_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01627_ud0050301_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01627_ud0050301_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01627_ud0050301_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01627_ud0050301_8.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01627_ud0050301_9.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01627_ud0050301_10.jpg
FORD
RANGER 2.0D SIT XLT A/T D/C P/U
(2026)
FORD
<?php $post_id = get_the_id(); $post_meta = get_post_meta($post_id); echo print_r($post_meta); ?>
AFAPXXMJ2PTS58093
AFAPXXMJ2PTS58093
Colour: FROZEN WHITE
MOL01627
29464113
29464113
Enquire
<?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");
}
}
?>











