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

R 569 900
Range:
RANGER
Year:
2025
Mileage:
3 500 km
Colour:
FROZEN WHITE
Transmission:
AUTOMATIC
Fuel:
DIESEL
Vehicle ID:
28415346
Available from NMI Ford N1 City
<?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/mol01633_u0071283_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01633_u0071283_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01633_u0071283_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01633_u0071283_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01633_u0071283_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01633_u0071283_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01633_u0071283_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01633_u0071283_8.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01633_u0071283_9.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01633_u0071283_10.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01633_u0071283_11.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01633_u0071283_12.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01633_u0071283_13.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01633_u0071283_14.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01633_u0071283_15.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01633_u0071283_16.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01633_u0071283_17.jpg
FORD
RANGER
(2019)

FORD 2.2 TDCi XL 4X2 D/CAB AT

<?php
  
   $post_id = get_the_id();
$post_meta = get_post_meta($post_id);
  echo print_r($post_meta);
  ?>
AFAPXXMJ2PJP23943
AFAPXXMJ2PJP23943
Colour: WHITE
MOL01633
28414012

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 900
122344km
2019
AUTOMATIC
More details
https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01633_u0071287_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01633_u0071287_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01633_u0071287_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01633_u0071287_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01633_u0071287_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01633_u0071287_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01633_u0071287_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01633_u0071287_8.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01633_u0071287_9.jpg
FORD
RANGER
(2022)

FORD 2.2 TDCI XL 4X2 SUPER CAB

<?php
  
   $post_id = get_the_id();
$post_meta = get_post_meta($post_id);
  echo print_r($post_meta);
  ?>
AFAGXXMJ2GNU32300
AFAGXXMJ2GNU32300
Colour: White
MOL01633
28414014

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 359 900
61754km
2022
MANUAL
More details
https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01633_u0071267_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01633_u0071267_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01633_u0071267_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01633_u0071267_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01633_u0071267_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01633_u0071267_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01633_u0071267_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01633_u0071267_8.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01633_u0071267_9.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01633_u0071267_10.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01633_u0071267_11.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01633_u0071267_12.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01633_u0071267_13.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01633_u0071267_14.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01633_u0071267_15.jpg
FORD
RANGER
(2024)

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);
  ?>
AFANXXMJ2NPU15733
AFANXXMJ2NPU15733
Colour: FROZEN WHITE
MOL01633
28414007

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 419 899
4500km
2024
AUTOMATIC
More details
https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01633_u0071317_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01633_u0071317_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01633_u0071317_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01633_u0071317_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01633_u0071317_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01633_u0071317_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01633_u0071317_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01633_u0071317_8.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01633_u0071317_9.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01633_u0071317_10.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01633_u0071317_11.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01633_u0071317_12.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01633_u0071317_13.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01633_u0071317_14.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01633_u0071317_15.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01633_u0071317_16.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01633_u0071317_17.jpg
FORD
RANGER
(2024)

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);
  ?>
AFAPXXMJ2PRY67028
AFAPXXMJ2PRY67028
Colour: BLACK
MOL01633
28415299

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 479 899
9279km
2024
MANUAL
More details