<?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 (2025)
FORD 2.0 SiT XL S CAB 4X2
R 389 800
Range:
RANGER
Year:
2025
Mileage:
43 000 km
Colour:
White
Transmission:
MANUAL
Fuel:
DIESEL
Vehicle ID:
29444861
Unmatched Reliability and History
Take advantage of this opportunity to own a pre-owned vehicle with a full service history. Each unit undergoes a meticulous 160-point check to ensure quality before delivery. Trade-in vehicles are welcome, making your upgrade smoother.
Enjoy nationwide delivery for your convenience. We can assist with finance options tailored to your needs. This vehicle represents smart value. Don’t miss out on this reliable choice.
Mileage is recorded at the time of advertising and may vary.
Key highlights:
– Full service history
– 160-point quality checks
– Trade-in vehicles accepted
– Nationwide delivery available
– Finance options arranged
Trust the NMI brand for quality automotive purchases.
Available from NMI Ford Tygervalley
<?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 Tygervalley
NMI Ford Tygervalley, Durban Road & Raglan St, Oakdale, Cape Town, 7530, South Africa
Similar Listings
https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10019_u0072045_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10019_u0072045_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10019_u0072045_3.jpg
FORD
RANGER
(2017)
FORD 2.2 TDCi XL 4X2 D/CAB
<?php $post_id = get_the_id(); $post_meta = get_post_meta($post_id); echo print_r($post_meta); ?>
AFAPXXMJ2PHJ38756
AFAPXXMJ2PHJ38756
Colour: WHITE
TOL10019
29444409
29444409
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/tol10019_u0072023_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10019_u0072023_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10019_u0072023_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10019_u0072023_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10019_u0072023_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10019_u0072023_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10019_u0072023_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10019_u0072023_8.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10019_u0072023_9.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10019_u0072023_10.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10019_u0072023_11.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10019_u0072023_12.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10019_u0072023_13.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10019_u0072023_14.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10019_u0072023_15.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10019_u0072023_16.jpg
FORD
RANGER
(2015)
FORD 2.2 D HP XL D/CAB
<?php $post_id = get_the_id(); $post_meta = get_post_meta($post_id); echo print_r($post_meta); ?>
AFAPXXMJ2PFK51741
AFAPXXMJ2PFK51741
Colour: WHITE
TOL10019
29445106
29445106
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/tol10019_u0072115_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10019_u0072115_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10019_u0072115_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10019_u0072115_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10019_u0072115_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10019_u0072115_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10019_u0072115_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10019_u0072115_8.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10019_u0072115_9.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10019_u0072115_10.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10019_u0072115_11.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10019_u0072115_12.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10019_u0072115_13.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10019_u0072115_14.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10019_u0072115_15.jpg
FORD
RANGER
(2023)
FORD 2.2 TDCI XL 4X2 D CAB
<?php $post_id = get_the_id(); $post_meta = get_post_meta($post_id); echo print_r($post_meta); ?>
AFAPXXMJ2PNB67875
AFAPXXMJ2PNB67875
Colour: White
TOL10019
29444863
29444863
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/tol10019_u0072097_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10019_u0072097_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10019_u0072097_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10019_u0072097_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10019_u0072097_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10019_u0072097_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10019_u0072097_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10019_u0072097_8.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10019_u0072097_9.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10019_u0072097_10.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10019_u0072097_11.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10019_u0072097_12.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10019_u0072097_13.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10019_u0072097_14.jpg
FORD
RANGER
(2025)
FORD 2.0 SiT XL S CAB 4X2
<?php $post_id = get_the_id(); $post_meta = get_post_meta($post_id); echo print_r($post_meta); ?>
AFANXXMJ2NRL64915
AFANXXMJ2NRL64915
Colour: White
TOL10019
29444418
29444418
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");
}
}
?>














