<?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,
            }
        }
    });
});

Imported Vehicle

R 619 900
Range:
Year:
2026
Mileage:
5 000 km
Colour:
Frozen White
Transmission:
AUTOMATICMANUAL
Fuel:
DieselPtrol
Vehicle ID:
29219938
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_u0071135_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_u0071135_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_u0071135_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_u0071135_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_u0071135_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_u0071135_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_u0071135_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_u0071135_8.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_u0071135_9.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_u0071135_10.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_u0071135_11.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_u0071135_12.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_u0071135_13.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_u0071135_14.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_u0071135_15.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_u0071135_16.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_u0071135_17.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_u0071135_18.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_u0071135_19.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_u0071135_20.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_u0071135_21.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_u0071135_22.jpg
(2026)

Imported Vehicle

<?php
  
   $post_id = get_the_id();
$post_meta = get_post_meta($post_id);
  echo print_r($post_meta);
  ?>
LSJWP4U64TZ167360
LSJWP4U64TZ167360
Colour: WHITE
MOL01634
29219680

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 229 900
10km
2026
AUTOMATICMANUAL
More details
https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_u0071136_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_u0071136_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_u0071136_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_u0071136_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_u0071136_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_u0071136_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_u0071136_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_u0071136_8.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_u0071136_9.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_u0071136_10.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_u0071136_11.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_u0071136_12.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_u0071136_13.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_u0071136_14.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_u0071136_15.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_u0071136_16.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_u0071136_17.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_u0071136_18.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_u0071136_19.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_u0071136_20.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_u0071136_21.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_u0071136_22.jpg
(2026)

Imported Vehicle

<?php
  
   $post_id = get_the_id();
$post_meta = get_post_meta($post_id);
  echo print_r($post_meta);
  ?>
LSJWP4U64SZ283060
LSJWP4U64SZ283060
Colour: SILVER
MOL01634
29219681

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 274 900
10km
2026
AUTOMATICMANUAL
More details
https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_ud0050355_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_ud0050355_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_ud0050355_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_ud0050355_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_ud0050355_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_ud0050355_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_ud0050355_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_ud0050355_8.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_ud0050355_9.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_ud0050355_10.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_ud0050355_11.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_ud0050355_12.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_ud0050355_13.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_ud0050355_14.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_ud0050355_15.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_ud0050355_16.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_ud0050355_17.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_ud0050355_18.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_ud0050355_19.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_ud0050355_20.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_ud0050355_21.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_ud0050355_22.jpg
(2026)

Imported Vehicle

<?php
  
   $post_id = get_the_id();
$post_meta = get_post_meta($post_id);
  echo print_r($post_meta);
  ?>
AFAPXXMJ2PTS58101
AFAPXXMJ2PTS58101
Colour: Frozen White
MOL01634
29219939

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 619 900
2500km
2026
AUTOMATICMANUAL
More details
https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_ud0050336_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_ud0050336_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_ud0050336_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_ud0050336_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_ud0050336_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_ud0050336_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_ud0050336_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_ud0050336_8.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_ud0050336_9.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_ud0050336_10.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_ud0050336_11.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_ud0050336_12.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_ud0050336_13.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_ud0050336_14.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_ud0050336_15.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_ud0050336_16.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_ud0050336_17.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01634_ud0050336_18.jpg
(2026)

Imported Vehicle

<?php
  
   $post_id = get_the_id();
$post_meta = get_post_meta($post_id);
  echo print_r($post_meta);
  ?>
LJXCU3BB3SHF86199
LJXCU3BB3SHF86199
Colour: Lustrous Grey
MOL01634
29219931

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 639 900
5000km
2026
AUTOMATICMANUAL
More details