<?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 D CAB XLT 4X2 6AT

R 629 900
Range:
RANGER
Year:
2025
Mileage:
7 000 km
Colour:
Frozen White
Transmission:
AUTOMATIC
Fuel:
DIESEL
Vehicle ID:
28423923
Available from NMI Ford Alberton
<?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/mol01634_u0070870_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_u0070870_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_u0070870_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_u0070870_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_u0070870_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_u0070870_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_u0070870_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_u0070870_8.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_u0070870_9.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_u0070870_10.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_u0070870_11.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_u0070870_12.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_u0070870_13.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_u0070870_14.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_u0070870_15.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_u0070870_16.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_u0070870_17.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_u0070870_18.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_u0070870_19.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_u0070870_20.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_u0070870_21.jpg
FORD
RANGER
(2022)

FORD 2.2 TDCI XLS 4X4 SUPER CAB AT

<?php
  
   $post_id = get_the_id();
$post_meta = get_post_meta($post_id);
  echo print_r($post_meta);
  ?>
AFAGXXMJ2GNJ15493
AFAGXXMJ2GNJ15493
Colour: White
MOL01634
28421562

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 900
89000km
2022
AUTOMATIC
More details
https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_ud0050242_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_ud0050242_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_ud0050242_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_ud0050242_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_ud0050242_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_ud0050242_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_ud0050242_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_ud0050242_8.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_ud0050242_9.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_ud0050242_10.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_ud0050242_11.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_ud0050242_12.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_ud0050242_13.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_ud0050242_14.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_ud0050242_15.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_ud0050242_16.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_ud0050242_17.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_ud0050242_18.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_ud0050242_19.jpg
FORD
RANGER
(2025)

FORD 2.0 SiT XL X CAB AT 4X2

<?php
  
   $post_id = get_the_id();
$post_meta = get_post_meta($post_id);
  echo print_r($post_meta);
  ?>
AFAGXXMJ2GSR64911
AFAGXXMJ2GSR64911
Colour: Carbonised Grey
MOL01634
28421503

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
9000km
2025
AUTOMATIC
More details
https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_ud0050219_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_ud0050219_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_ud0050219_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_ud0050219_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_ud0050219_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_ud0050219_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_ud0050219_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_ud0050219_8.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_ud0050219_9.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_ud0050219_10.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_ud0050219_11.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_ud0050219_12.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_ud0050219_13.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_ud0050219_14.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_ud0050219_15.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_ud0050219_16.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_ud0050219_17.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_ud0050219_18.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_ud0050219_19.jpg
FORD
RANGER
(2025)

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);
  ?>
AFAPXXMJ2PSP38909
AFAPXXMJ2PSP38909
Colour: Frozen White
MOL01634
28423547

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 539 900
15000km
2025
AUTOMATIC
More details
https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_ud0050236_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_ud0050236_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_ud0050236_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_ud0050236_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_ud0050236_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_ud0050236_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_ud0050236_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_ud0050236_8.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_ud0050236_9.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_ud0050236_10.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_ud0050236_11.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_ud0050236_12.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_ud0050236_13.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_ud0050236_14.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_ud0050236_15.jpg
FORD
RANGER
(2025)

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);
  ?>
AFAPXXMJ2PSP39237
AFAPXXMJ2PSP39237
Colour: Frozen White
MOL01634
28423985

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 539 900
6000km
2025
AUTOMATIC
More details