<?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 SiT XL X CAB AT 4X2

R 519 949
Range:
RANGER
Year:
2026
Mileage:
6 500 km
Colour:
FROZEN WHITE
Transmission:
AUTOMATIC
Fuel:
DIESEL
Vehicle ID:
29065851
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_u0071242_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01630_u0071242_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01630_u0071242_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01630_u0071242_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01630_u0071242_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01630_u0071242_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01630_u0071242_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01630_u0071242_8.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01630_u0071242_9.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01630_u0071242_10.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01630_u0071242_11.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01630_u0071242_12.jpg
FORD
RANGER
(2016)

FORD 2.2 TDCi XL 4X4 D/CAB

<?php
  
   $post_id = get_the_id();
$post_meta = get_post_meta($post_id);
  echo print_r($post_meta);
  ?>
AFAPXXMJ2PGC75688
AFAPXXMJ2PGC75688
Colour: WHITE
MOL01630
29067236

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 249 949
131468km
2016
MANUAL
More details
https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01630_u0071230_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01630_u0071230_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01630_u0071230_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01630_u0071230_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01630_u0071230_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01630_u0071230_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01630_u0071230_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01630_u0071230_8.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01630_u0071230_9.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01630_u0071230_10.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01630_u0071230_11.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01630_u0071230_12.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01630_u0071230_13.jpg
FORD
RANGER
(2019)

FORD 2.0 BIT 4X4 D CAB WILDTRAK AT

<?php
  
   $post_id = get_the_id();
$post_meta = get_post_meta($post_id);
  echo print_r($post_meta);
  ?>
AFAPXXMJ2PKJ55531
AFAPXXMJ2PKJ55531
Colour: BLACK
MOL01630
29065870

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 409 950
165762km
2019
AUTOMATIC
More details
https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01630_u0071202_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01630_u0071202_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01630_u0071202_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01630_u0071202_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01630_u0071202_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01630_u0071202_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01630_u0071202_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01630_u0071202_8.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01630_u0071202_9.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01630_u0071202_10.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01630_u0071202_11.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01630_u0071202_12.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01630_u0071202_13.jpg
FORD
RANGER
(2022)

FORD 2.0 TURBO XLT 4X2 D CAB AT

<?php
  
   $post_id = get_the_id();
$post_meta = get_post_meta($post_id);
  echo print_r($post_meta);
  ?>
AFAPXXMJ2PNB67958
AFAPXXMJ2PNB67958
Colour: GREY
MOL01630
29065867

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 409 950
129259km
2022
AUTOMATIC
More details
https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01630_u0071158_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01630_u0071158_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01630_u0071158_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01630_u0071158_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01630_u0071158_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01630_u0071158_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01630_u0071158_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01630_u0071158_8.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01630_u0071158_9.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01630_u0071158_10.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01630_u0071158_11.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01630_u0071158_12.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01630_u0071158_13.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01630_u0071158_14.jpg
FORD
RANGER
(2021)

FORD 2.0 BiT 4X4 D/CAB AT

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

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 469 950
101659km
2021
AUTOMATIC
More details