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

R 369 900
Range:
COROLLA CROSS 1.8 Xi
Year:
2025
Mileage:
20 202 km
Colour:
GlacierWhite(040)
Transmission:
AUTOMATICMANUAL
Fuel:
DieselPtrol
Vehicle ID:
28582227
Available from NMI Toyota Kuilsrivier
<?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/mol01642_ud0050046_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01642_ud0050046_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01642_ud0050046_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01642_ud0050046_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01642_ud0050046_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01642_ud0050046_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01642_ud0050046_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01642_ud0050046_8.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01642_ud0050046_9.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01642_ud0050046_10.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01642_ud0050046_11.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01642_ud0050046_12.jpg
TOYOTA
COROLLA CROSS 1.8 Xi
(2025)

TOYOTA

<?php
  
   $post_id = get_the_id();
$post_meta = get_post_meta($post_id);
  echo print_r($post_meta);
  ?>
AHTKFAAG200655742
AHTKFAAG200655742
Colour: Platinum White Pearl(089)
MOL01642
28585299

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 359 900
9866km
2025
AUTOMATICMANUAL
More details
https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01642_ud0050049_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01642_ud0050049_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01642_ud0050049_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01642_ud0050049_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01642_ud0050049_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01642_ud0050049_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01642_ud0050049_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01642_ud0050049_8.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01642_ud0050049_9.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01642_ud0050049_10.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01642_ud0050049_11.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01642_ud0050049_12.jpg
TOYOTA
COROLLA CROSS 1.8 Xi
(2025)

TOYOTA

<?php
  
   $post_id = get_the_id();
$post_meta = get_post_meta($post_id);
  echo print_r($post_meta);
  ?>
AHTKFAAG100655974
AHTKFAAG100655974
Colour: Glacier White (040)
MOL01642
28585300

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 369 900
16311km
2025
AUTOMATICMANUAL
More details
https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01642_ud0050052_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01642_ud0050052_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01642_ud0050052_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01642_ud0050052_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01642_ud0050052_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01642_ud0050052_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01642_ud0050052_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01642_ud0050052_8.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01642_ud0050052_9.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01642_ud0050052_10.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01642_ud0050052_11.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01642_ud0050052_12.jpg
TOYOTA
COROLLA CROSS 1.8 Xi
(2025)

TOYOTA

<?php
  
   $post_id = get_the_id();
$post_meta = get_post_meta($post_id);
  echo print_r($post_meta);
  ?>
AHTKFAAG900654815
AHTKFAAG900654815
Colour: Glacier White (040)
MOL01642
28585751

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 369 900
16586km
2025
AUTOMATICMANUAL
More details
https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01642_ud0050054_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01642_ud0050054_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01642_ud0050054_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01642_ud0050054_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01642_ud0050054_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01642_ud0050054_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01642_ud0050054_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01642_ud0050054_8.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01642_ud0050054_9.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01642_ud0050054_10.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01642_ud0050054_11.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01642_ud0050054_12.jpg
TOYOTA
COROLLA CROSS 1.8 Xi
(2025)

TOYOTA

<?php
  
   $post_id = get_the_id();
$post_meta = get_post_meta($post_id);
  echo print_r($post_meta);
  ?>
AHTKFAAG500657002
AHTKFAAG500657002
Colour: Glacier White (040)
MOL01642
28585189

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 375 900
14800km
2025
AUTOMATICMANUAL
More details