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 Seltos (2020)

Kia 1.6 EX

R 209 000
Range:
Seltos
Year:
2020
Mileage:
70 032 km
Colour:
silver
Transmission:
Fuel:
Vehicle ID:
6605

2020 Kia Seltos 1.6 EX M/T — 69,929km — Silver

Practical Kia Seltos EX in Silver, powered by the reliable 1.6L petrol engine paired with a manual transmission. This compact SUV offers a comfortable ride, generous space, and everyday practicality at a great price point.

Highlights:

1.6L petrol engine — reliable and easy to maintain
Manual transmission
EX specification with practical standard features
Full-service history available
Comfortable, spacious cabin

Condition:
Well-maintained condition consistent with mileage — no known mechanical issues. Drives as expected. Tyres in good condition.

Affordable, practical family SUV — contact us today to arrange a viewing or test drive.

Available from NMI Ford N1 City
<?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