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 249 950
Range:
Starlet
Year:
2026
Mileage:
1 000 km
Colour:
Luxe Red
Transmission:
Manual
Fuel:
petrol
Vehicle ID:
2899
Available from NMI Toyota Witbank
<?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/JTDGWC52S00694604_1_full.jpg?v=20261022150944, https://ststockprodsanorth001.blob.core.windows.net/stock-images/JTDGWC52S00694604_2_full.jpg?v=20261022150947, https://ststockprodsanorth001.blob.core.windows.net/stock-images/JTDGWC52S00694604_3_full.jpg?v=20261022150950, https://ststockprodsanorth001.blob.core.windows.net/stock-images/JTDGWC52S00694604_4_full.jpg?v=20261022150953, https://ststockprodsanorth001.blob.core.windows.net/stock-images/JTDGWC52S00694604_5_full.jpg?v=20261022150956, https://ststockprodsanorth001.blob.core.windows.net/stock-images/JTDGWC52S00694604_6_full.jpg?v=20261022151000, https://ststockprodsanorth001.blob.core.windows.net/stock-images/JTDGWC52S00694604_7_full.jpg?v=20261022151003, https://ststockprodsanorth001.blob.core.windows.net/stock-images/JTDGWC52S00694604_8_full.jpg?v=20261022151007, https://ststockprodsanorth001.blob.core.windows.net/stock-images/JTDGWC52S00694604_9_full.jpg?v=20261022151010, https://ststockprodsanorth001.blob.core.windows.net/stock-images/JTDGWC52S00694604_10_full.jpg?v=20261022151012, https://ststockprodsanorth001.blob.core.windows.net/stock-images/JTDGWC52S00694604_11_full.jpg?v=20261022151015
Toyota
Starlet
(2021)

Toyota STARLET 1.4 Xs

<?php
  
   $post_id = get_the_id();
$post_meta = get_post_meta($post_id);
  echo print_r($post_meta);
  ?>
JTDGWC52S00694604
JTDGWC52S00694604
Colour: Mystic Pearl White (ZHJ)
MOL01651
10029

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 199 950
104940km
2021
Manual
More details
https://ststockprodsanorth001.blob.core.windows.net/stock-images/JTDJWCA3S00D15940_1_full.jpg?v=20261006144127, https://ststockprodsanorth001.blob.core.windows.net/stock-images/JTDJWCA3S00D15940_2_full.jpg?v=20261006144130, https://ststockprodsanorth001.blob.core.windows.net/stock-images/JTDJWCA3S00D15940_3_full.jpg?v=20261006144133, https://ststockprodsanorth001.blob.core.windows.net/stock-images/JTDJWCA3S00D15940_4_full.jpg?v=20261006144136, https://ststockprodsanorth001.blob.core.windows.net/stock-images/JTDJWCA3S00D15940_5_full.jpg?v=20261006144138, https://ststockprodsanorth001.blob.core.windows.net/stock-images/JTDJWCA3S00D15940_6_full.jpg?v=20261006144141, https://ststockprodsanorth001.blob.core.windows.net/stock-images/JTDJWCA3S00D15940_7_full.jpg?v=20261006144144, https://ststockprodsanorth001.blob.core.windows.net/stock-images/JTDJWCA3S00D15940_8_full.jpg?v=20261006144147, https://ststockprodsanorth001.blob.core.windows.net/stock-images/JTDJWCA3S00D15940_9_full.jpg?v=20261006144150, https://ststockprodsanorth001.blob.core.windows.net/stock-images/JTDJWCA3S00D15940_10_full.jpg?v=20261006144152, https://ststockprodsanorth001.blob.core.windows.net/stock-images/JTDJWCA3S00D15940_11_full.jpg?v=20261006144155
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);
  ?>
JTDJWCA3S00D15940
JTDJWCA3S00D15940
Colour: Premium Silver
MOL01651
5252

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 259 950
1000km
2026
Manual
More details
https://ststockprodsanorth001.blob.core.windows.net/stock-images/JTDJWCA3S00A94156_1_full.jpg?v=20261017062255, https://ststockprodsanorth001.blob.core.windows.net/stock-images/JTDJWCA3S00A94156_2_full.jpg?v=20261017062259, https://ststockprodsanorth001.blob.core.windows.net/stock-images/JTDJWCA3S00A94156_3_full.jpg?v=20261017062301, https://ststockprodsanorth001.blob.core.windows.net/stock-images/JTDJWCA3S00A94156_4_full.jpg?v=20261017062304, https://ststockprodsanorth001.blob.core.windows.net/stock-images/JTDJWCA3S00A94156_5_full.jpg?v=20261017062308, https://ststockprodsanorth001.blob.core.windows.net/stock-images/JTDJWCA3S00A94156_6_full.jpg?v=20261017062310, https://ststockprodsanorth001.blob.core.windows.net/stock-images/JTDJWCA3S00A94156_7_full.jpg?v=20261017062313, https://ststockprodsanorth001.blob.core.windows.net/stock-images/JTDJWCA3S00A94156_8_full.jpg?v=20261017062316, https://ststockprodsanorth001.blob.core.windows.net/stock-images/JTDJWCA3S00A94156_9_full.jpg?v=20261017062319, https://ststockprodsanorth001.blob.core.windows.net/stock-images/JTDJWCA3S00A94156_10_full.jpg?v=20261017062320, https://ststockprodsanorth001.blob.core.windows.net/stock-images/JTDJWCA3S00A94156_11_full.jpg?v=20261017062323
Toyota
Starlet
(2025)

Toyota STARLET 1.5 Xs A/T

<?php
  
   $post_id = get_the_id();
$post_meta = get_post_meta($post_id);
  echo print_r($post_meta);
  ?>
JTDJWCA3S00A94156
JTDJWCA3S00A94156
Colour: PremiumSilver
MOL01651
8990

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 259 950
23853km
2025
Automatic
More details
https://ststockprodsanorth001.blob.core.windows.net/stock-images/JTDJWCA3S00C28401_1_full.jpg?v=20261006143514, https://ststockprodsanorth001.blob.core.windows.net/stock-images/JTDJWCA3S00C28401_2_full.jpg?v=20261006143514, https://ststockprodsanorth001.blob.core.windows.net/stock-images/JTDJWCA3S00C28401_3_full.jpg?v=20261006143514, https://ststockprodsanorth001.blob.core.windows.net/stock-images/JTDJWCA3S00C28401_4_full.jpg?v=20261006143514, https://ststockprodsanorth001.blob.core.windows.net/stock-images/JTDJWCA3S00C28401_5_full.jpg?v=20261006143514, https://ststockprodsanorth001.blob.core.windows.net/stock-images/JTDJWCA3S00C28401_6_full.jpg?v=20261006143514, https://ststockprodsanorth001.blob.core.windows.net/stock-images/JTDJWCA3S00C28401_7_full.jpg?v=20261006143515, https://ststockprodsanorth001.blob.core.windows.net/stock-images/JTDJWCA3S00C28401_8_full.jpg?v=20261006143515, https://ststockprodsanorth001.blob.core.windows.net/stock-images/JTDJWCA3S00C28401_9_full.jpg?v=20261006143515
Toyota
Starlet
(2026)

Toyota STARLET 1.5 XR

<?php
  
   $post_id = get_the_id();
$post_meta = get_post_meta($post_id);
  echo print_r($post_meta);
  ?>
JTDJWCA3S00C28401
JTDJWCA3S00C28401
Colour: Mystic Pearl White (ZHJ)
MOL01651
5032

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 289 949
1000km
2026
Manual
More details