Opens in a new tab
<?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,
            }
        }
    });
});

Toyota STARLET 1.5 Xi

R 259 900
Range:
Starlet
Year:
2026
Mileage:
7 566 km
Colour:
Mystic Pearl White (ZHJ)
Transmission:
Manual
Fuel:
petrol
Vehicle ID:
2514
Available from NMI Toyota Centurion
<?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://ststockprodsanorth001.blob.core.windows.net/stock-images/JTDJWCA3S00B22327_1_full.jpg?v=20260815190606, https://ststockprodsanorth001.blob.core.windows.net/stock-images/JTDJWCA3S00B22327_2_full.jpg?v=20260815190606, https://ststockprodsanorth001.blob.core.windows.net/stock-images/JTDJWCA3S00B22327_3_full.jpg?v=20260815190606, https://ststockprodsanorth001.blob.core.windows.net/stock-images/JTDJWCA3S00B22327_4_full.jpg?v=20260815190607, https://ststockprodsanorth001.blob.core.windows.net/stock-images/JTDJWCA3S00B22327_5_full.jpg?v=20260815190607, https://ststockprodsanorth001.blob.core.windows.net/stock-images/JTDJWCA3S00B22327_6_full.jpg?v=20260815190607, https://ststockprodsanorth001.blob.core.windows.net/stock-images/JTDJWCA3S00B22327_7_full.jpg?v=20260815190607, https://ststockprodsanorth001.blob.core.windows.net/stock-images/JTDJWCA3S00B22327_8_full.jpg?v=20260815190608
Toyota
Starlet
(2026)

Toyota STARLET 1.5 Xi

<?php
  
   $post_id = get_the_id();
$post_meta = get_post_meta($post_id);
  echo print_r($post_meta);
  ?>
JTDJWCA3S00B22327
JTDJWCA3S00B22327
Colour: Shadow Grey
MOL01644
2651

Enquire

Contact Form - Satellite
<?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 234 899
15454km
2026
Manual
More details
https://ststockprodsanorth001.blob.core.windows.net/stock-images/JTDJWCA3S00B91762_1_full.jpg?v=20260815190608, https://ststockprodsanorth001.blob.core.windows.net/stock-images/JTDJWCA3S00B91762_2_full.jpg?v=20260815190609, https://ststockprodsanorth001.blob.core.windows.net/stock-images/JTDJWCA3S00B91762_3_full.jpg?v=20260815190609, https://ststockprodsanorth001.blob.core.windows.net/stock-images/JTDJWCA3S00B91762_4_full.jpg?v=20260815190609, https://ststockprodsanorth001.blob.core.windows.net/stock-images/JTDJWCA3S00B91762_5_full.jpg?v=20260815190610, https://ststockprodsanorth001.blob.core.windows.net/stock-images/JTDJWCA3S00B91762_6_full.jpg?v=20260815190610, https://ststockprodsanorth001.blob.core.windows.net/stock-images/JTDJWCA3S00B91762_7_full.jpg?v=20260815190610, https://ststockprodsanorth001.blob.core.windows.net/stock-images/JTDJWCA3S00B91762_8_full.jpg?v=20260815190610
Toyota
Starlet
(2026)

Toyota STARLET 1.5 Xi

<?php
  
   $post_id = get_the_id();
$post_meta = get_post_meta($post_id);
  echo print_r($post_meta);
  ?>
JTDJWCA3S00B91762
JTDJWCA3S00B91762
Colour: Champagne
MOL01644
2657

Enquire

Contact Form - Satellite
<?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 244 900
2231km
2026
Manual
More details
https://ststockprodsanorth001.blob.core.windows.net/stock-images/JTDJWCA3S00B85119_1_full.jpg?v=20260815190603, https://ststockprodsanorth001.blob.core.windows.net/stock-images/JTDJWCA3S00B85119_2_full.jpg?v=20260815190603, https://ststockprodsanorth001.blob.core.windows.net/stock-images/JTDJWCA3S00B85119_3_full.jpg?v=20260815190604, https://ststockprodsanorth001.blob.core.windows.net/stock-images/JTDJWCA3S00B85119_4_full.jpg?v=20260815190604, https://ststockprodsanorth001.blob.core.windows.net/stock-images/JTDJWCA3S00B85119_5_full.jpg?v=20260815190604, https://ststockprodsanorth001.blob.core.windows.net/stock-images/JTDJWCA3S00B85119_6_full.jpg?v=20260815190604, https://ststockprodsanorth001.blob.core.windows.net/stock-images/JTDJWCA3S00B85119_7_full.jpg?v=20260815190605, https://ststockprodsanorth001.blob.core.windows.net/stock-images/JTDJWCA3S00B85119_8_full.jpg?v=20260815190605
Toyota
Starlet
(2026)

Toyota STARLET 1.5 Xi

<?php
  
   $post_id = get_the_id();
$post_meta = get_post_meta($post_id);
  echo print_r($post_meta);
  ?>
JTDJWCA3S00B85119
JTDJWCA3S00B85119
Colour: Luxe Red
MOL01644
2656

Enquire

Contact Form - Satellite
<?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 244 900
30297km
2026
Manual
More details
https://ststockprodsanorth001.blob.core.windows.net/stock-images/JTDJWCA3S00D14753_1_full.jpg?v=20260904103236, https://ststockprodsanorth001.blob.core.windows.net/stock-images/JTDJWCA3S00D14753_2_full.jpg?v=20260904103239, https://ststockprodsanorth001.blob.core.windows.net/stock-images/JTDJWCA3S00D14753_3_full.jpg?v=20260904103241, https://ststockprodsanorth001.blob.core.windows.net/stock-images/JTDJWCA3S00D14753_4_full.jpg?v=20260904103243, https://ststockprodsanorth001.blob.core.windows.net/stock-images/JTDJWCA3S00D14753_5_full.jpg?v=20260904103245, https://ststockprodsanorth001.blob.core.windows.net/stock-images/JTDJWCA3S00D14753_6_full.jpg?v=20260904103247, https://ststockprodsanorth001.blob.core.windows.net/stock-images/JTDJWCA3S00D14753_7_full.jpg?v=20260904103248, https://ststockprodsanorth001.blob.core.windows.net/stock-images/JTDJWCA3S00D14753_8_full.jpg?v=20260904103250, https://ststockprodsanorth001.blob.core.windows.net/stock-images/JTDJWCA3S00D14753_9_full.jpg?v=20260904103252, https://ststockprodsanorth001.blob.core.windows.net/stock-images/JTDJWCA3S00D14753_10_full.jpg?v=20260904103254, https://ststockprodsanorth001.blob.core.windows.net/stock-images/JTDJWCA3S00D14753_11_full.jpg?v=20260904103256, https://ststockprodsanorth001.blob.core.windows.net/stock-images/JTDJWCA3S00D14753_12_full.jpg?v=20260904103257, https://ststockprodsanorth001.blob.core.windows.net/stock-images/JTDJWCA3S00D14753_13_full.jpg?v=20260904103259, https://ststockprodsanorth001.blob.core.windows.net/stock-images/JTDJWCA3S00D14753_14_full.jpg?v=20260904103301, https://ststockprodsanorth001.blob.core.windows.net/stock-images/JTDJWCA3S00D14753_15_full.jpg?v=20260904103303, https://ststockprodsanorth001.blob.core.windows.net/stock-images/JTDJWCA3S00D14753_16_full.jpg?v=20260904103305, https://ststockprodsanorth001.blob.core.windows.net/stock-images/JTDJWCA3S00D14753_17_full.jpg?v=20260904103306, https://ststockprodsanorth001.blob.core.windows.net/stock-images/JTDJWCA3S00D14753_18_full.jpg?v=20260904103308
Toyota
Starlet
(2026)

Toyota STARLET 1.5 Xi

<?php
  
   $post_id = get_the_id();
$post_meta = get_post_meta($post_id);
  echo print_r($post_meta);
  ?>
JTDJWCA3S00D14753
JTDJWCA3S00D14753
Colour: Premium Silver
MOL01644
5150

Enquire

Contact Form - Satellite
<?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 899
1100km
2026
Manual
More details