<?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 AT 4X2

R 479 890
Range:
RANGER
Year:
2025
Mileage:
7 500 km
Colour:
FROZEN WHITE
Transmission:
AUTOMATIC
Fuel:
DIESEL
Vehicle ID:
29471118

Experience the reliability and performance of a demo vehicle that stands out. This model offers the perfect blend of advanced features and comfort, making it ideal for both work and leisure.

With a full service history, you can trust in the quality and maintenance of this vehicle. It comes with the balance of the Ford factory warranty and service plan, ensuring peace of mind for your investment. Enjoy the convenience of in-house finance options and the flexibility of accepting trade-ins. Nationwide delivery is also available.

Mileage is recorded at the time of advertising and may vary.

Key highlights:
– Demo model with mileage subject to change
– Full service history included
– Balance of Ford factory warranty
– Comprehensive service plan
– Trade-ins accepted
– In-house finance options available
– Nationwide delivery option

Trust in NMI to provide you with quality vehicles and exceptional service.

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");
        }
    }
?>
Sales Enquiry - Satellite

Similar Listings 

https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01627_u0071432_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01627_u0071432_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01627_u0071432_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01627_u0071432_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01627_u0071432_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01627_u0071432_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01627_u0071432_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01627_u0071432_8.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01627_u0071432_9.jpg
FORD
RANGER
(2022)

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);
  ?>
AFAPXXMJ2PNJ11141
AFAPXXMJ2PNJ11141
Colour: GREY
MOL01627
29472543

Enquire

Sales Enquiry
<?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");
        }
    }
?>
R 319 889
71347km
2022
MANUAL
More details
https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01627_ud0050255_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01627_ud0050255_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01627_ud0050255_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01627_ud0050255_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01627_ud0050255_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01627_ud0050255_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01627_ud0050255_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01627_ud0050255_8.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01627_ud0050255_9.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01627_ud0050255_10.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01627_ud0050255_11.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01627_ud0050255_12.jpg
FORD
RANGER
(2026)

FORD 2.0 SiT XL S CAB AT 4X4

<?php
  
   $post_id = get_the_id();
$post_meta = get_post_meta($post_id);
  echo print_r($post_meta);
  ?>
AFANXXMJ2NSD38205
AFANXXMJ2NSD38205
Colour: FROZEN WHITE
MOL01627
29472837

Enquire

Sales Enquiry
<?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");
        }
    }
?>
R 459 889
29938km
2026
AUTOMATIC
More details
https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01627_ud0050251_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01627_ud0050251_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01627_ud0050251_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01627_ud0050251_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01627_ud0050251_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01627_ud0050251_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01627_ud0050251_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01627_ud0050251_8.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01627_ud0050251_9.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01627_ud0050251_10.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01627_ud0050251_11.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01627_ud0050251_12.jpg
FORD
RANGER
(2026)

FORD 2.0 SiT XL S CAB AT 4X2

<?php
  
   $post_id = get_the_id();
$post_meta = get_post_meta($post_id);
  echo print_r($post_meta);
  ?>
AFANXXMJ2NSD31307
AFANXXMJ2NSD31307
Colour: FROZEN WHITE
MOL01627
29471119

Enquire

Sales Enquiry
<?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");
        }
    }
?>
R 459 889
10000km
2026
AUTOMATIC
More details
https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01627_ud0050252_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01627_ud0050252_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01627_ud0050252_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01627_ud0050252_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01627_ud0050252_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01627_ud0050252_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01627_ud0050252_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01627_ud0050252_8.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01627_ud0050252_9.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01627_ud0050252_10.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01627_ud0050252_11.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01627_ud0050252_12.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01627_ud0050252_13.jpg
FORD
RANGER
(2026)

FORD 2.0 SiT XL S CAB AT 4X2

<?php
  
   $post_id = get_the_id();
$post_meta = get_post_meta($post_id);
  echo print_r($post_meta);
  ?>
AFANXXMJ2NSK21243
AFANXXMJ2NSK21243
Colour: Frozen White
MOL01627
29471120

Enquire

Sales Enquiry
<?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");
        }
    }
?>
R 459 889
10000km
2026
AUTOMATIC
More details