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,
            }
        }
    });
});
Kia Sonet (2025)

Kia SONET 1.5 EX CVT

R 329 950
Range:
Sonet
Year:
2025
Mileage:
22 603 km
Colour:
SILVER
Transmission:
Cvt
Fuel:
petrol
Vehicle ID:
7929

.

Available from NMI Ford Pinetown
<?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");
        }
    }
?>

Finance Calculator

The finance calculator provides an estimate only. The final price to be calculated after consulting one of our sales staff.
Car Loan Calculator - NMI Calculation

Est. Installment

R/month

Installments Total

R

Residual Total

R

Principal
R
Sales Enquiry - Pre-Owned Forms

Similar Listings 

https://ststockprodsanorth001.blob.core.windows.net/stock-images/MZBFB814LRN460719_1_full.jpg?v=20260902143203, https://ststockprodsanorth001.blob.core.windows.net/stock-images/MZBFB814LRN460719_2_full.jpg?v=20260902143205, https://ststockprodsanorth001.blob.core.windows.net/stock-images/MZBFB814LRN460719_3_full.jpg?v=20260902143206, https://ststockprodsanorth001.blob.core.windows.net/stock-images/MZBFB814LRN460719_4_full.jpg?v=20260902143208, https://ststockprodsanorth001.blob.core.windows.net/stock-images/MZBFB814LRN460719_5_full.jpg?v=20260902143210, https://ststockprodsanorth001.blob.core.windows.net/stock-images/MZBFB814LRN460719_6_full.jpg?v=20260902143212, https://ststockprodsanorth001.blob.core.windows.net/stock-images/MZBFB814LRN460719_7_full.jpg?v=20260902143213, https://ststockprodsanorth001.blob.core.windows.net/stock-images/MZBFB814LRN460719_8_full.jpg?v=20260902143215, https://ststockprodsanorth001.blob.core.windows.net/stock-images/MZBFB814LRN460719_9_full.jpg?v=20260902143217, https://ststockprodsanorth001.blob.core.windows.net/stock-images/MZBFB814LRN460719_10_full.jpg?v=20260902143219, https://ststockprodsanorth001.blob.core.windows.net/stock-images/MZBFB814LRN460719_11_full.jpg?v=20260902143221, https://ststockprodsanorth001.blob.core.windows.net/stock-images/MZBFB814LRN460719_12_full.jpg?v=20260902143223, https://ststockprodsanorth001.blob.core.windows.net/stock-images/MZBFB814LRN460719_13_full.jpg?v=20260902143224, https://ststockprodsanorth001.blob.core.windows.net/stock-images/MZBFB814LRN460719_14_full.jpg?v=20260902143227, https://ststockprodsanorth001.blob.core.windows.net/stock-images/MZBFB814LRN460719_15_full.jpg?v=20260902143228, https://ststockprodsanorth001.blob.core.windows.net/stock-images/MZBFB814LRN460719_16_full.jpg?v=20260902143231, https://ststockprodsanorth001.blob.core.windows.net/stock-images/MZBFB814LRN460719_17_full.jpg?v=20260902143233, https://ststockprodsanorth001.blob.core.windows.net/stock-images/MZBFB814LRN460719_18_full.jpg?v=20260902143236, https://ststockprodsanorth001.blob.core.windows.net/stock-images/MZBFB814LRN460719_19_full.jpg?v=20260902143238, https://ststockprodsanorth001.blob.core.windows.net/stock-images/MZBFB814LRN460719_20_full.jpg?v=20260902143239
Kia
Sonet
(2024)

Kia SONET 1.5 LS

<?php
  
   $post_id = get_the_id();
$post_meta = get_post_meta($post_id);
  echo print_r($post_meta);
  ?>
MZBFB814LRN460719
MZBFB814LRN460719
Colour: GREEN
MOL01634
5028

Enquire

Contact Form
<?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 219 900
42600km
2024
Manual
More details