<?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 2.0 BIT 4X2 D CAB WILDTRAK AT

R 464 949
Range:
RANGER
Year:
2022
Mileage:
114 352 km
Colour:
Orange
Transmission:
AUTOMATIC
Fuel:
DIESEL
Vehicle ID:
29421692
Available from NMI Ford Pinetown
<?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/mol01630_u0071336_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01630_u0071336_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01630_u0071336_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01630_u0071336_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01630_u0071336_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01630_u0071336_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01630_u0071336_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01630_u0071336_8.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01630_u0071336_9.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01630_u0071336_10.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01630_u0071336_11.jpg
FORD
RANGER
(2019)

FORD 3.2 TDCi WILDTRAK 4X2 D/CAB AT

<?php
  
   $post_id = get_the_id();
$post_meta = get_post_meta($post_id);
  echo print_r($post_meta);
  ?>
AFAPXXMJ2PJB29139
AFAPXXMJ2PJB29139
Colour: White
MOL01630
29421385

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 379 442
155239km
2019
AUTOMATIC
More details
https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01630_ud0050302_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01630_ud0050302_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01630_ud0050302_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01630_ud0050302_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01630_ud0050302_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01630_ud0050302_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01630_ud0050302_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01630_ud0050302_8.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01630_ud0050302_9.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01630_ud0050302_10.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01630_ud0050302_11.jpg
FORD
RANGER
(2026)

FORD 2.0 SiT D CAB XL 4X2

<?php
  
   $post_id = get_the_id();
$post_meta = get_post_meta($post_id);
  echo print_r($post_meta);
  ?>
AFANXXMJ2NSR65805
AFANXXMJ2NSR65805
Colour: FROZEN WHITE
MOL01630
29420083

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 475 949
15432km
2026
MANUAL
More details
https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01630_u0071357_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01630_u0071357_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01630_u0071357_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01630_u0071357_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01630_u0071357_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01630_u0071357_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01630_u0071357_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01630_u0071357_8.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01630_u0071357_9.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01630_u0071357_10.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01630_u0071357_11.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01630_u0071357_12.jpg
FORD
RANGER
(2026)

FORD 2.0 SiT D CAB XL 4X2 6AT

<?php
  
   $post_id = get_the_id();
$post_meta = get_post_meta($post_id);
  echo print_r($post_meta);
  ?>
AFAPXXMJ2PSE41292
AFAPXXMJ2PSE41292
Colour: FROZEN WHITE
MOL01630
29421528

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 509 900
16200km
2026
AUTOMATIC
More details
https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01630_ud0050286_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01630_ud0050286_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01630_ud0050286_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01630_ud0050286_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01630_ud0050286_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01630_ud0050286_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01630_ud0050286_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01630_ud0050286_8.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);
  ?>
AFANXXMJ2NSR70527
AFANXXMJ2NSR70527
Colour: FROZEN WHITE
MOL01630
29420081

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 509 950
9500km
2026
AUTOMATIC
More details