<?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 1.5 Xi

R 279 900
Range:
STARLET
Year:
2026
Mileage:
5 000 km
Colour:
MYSTIC PEARL WHITE
Transmission:
MANUAL
Fuel:
UNLEADED
Vehicle ID:
29074074
Description

Unleash the thrill of driving with this versatile hatchback. It promises a dynamic blend of comfort, style, and convenience, perfect for any adventure. This used model is packed with features that elevate your driving experience, making every journey enjoyable.

Experience modern technology with Bluetooth connectivity and a user-friendly radio system. The interior boasts electric windows and mirrors, ensuring ease and convenience at your fingertips. Enhance peace of mind with the added safety of an alarm system and airbags. This vehicle is ready to impress with its smash and grab protection, making it a smart choice for the discerning driver.

Mileage is recorded at the time of advertising and may vary.

Key highlights:
– Air conditioning for a comfortable ride
– Bluetooth connectivity for seamless audio streaming
– Electric windows front and rear for added convenience
– Central locking key for enhanced security
– Power steering for effortless handling
– Safety features including airbags
– Stylish smash and grab protection

Trust in NMI’s reputation for quality and reliability, ensuring you drive away with confidence.

Available from NMI Toyota Kuruman
<?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/tol10127_u502282_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10127_u502282_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10127_u502282_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10127_u502282_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10127_u502282_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10127_u502282_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10127_u502282_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10127_u502282_8.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10127_u502282_9.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10127_u502282_10.jpg
TOYOTA
STARLET
(2024)

TOYOTA 1.5 XR AT

<?php
  
   $post_id = get_the_id();
$post_meta = get_post_meta($post_id);
  echo print_r($post_meta);
  ?>
JTDJWCA3S00825354
JTDJWCA3S00825354
Colour: MYSTIC PEARL WHITE
TOL10127
29075003

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 299 900
25000km
2024
AUTOMATIC
More details