<?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 2.8 GD VX-R

R 1 189 900
Range:
LAND CRUISER
Year:
2025
Mileage:
98 391 km
Colour:
Glacier White (040)
Transmission:
AUTOMATIC
Fuel:
DIESEL
Vehicle ID:
29468782
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 - Pre-Owned Forms

Similar Listings 

https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01642_u0070783_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01642_u0070783_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01642_u0070783_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01642_u0070783_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01642_u0070783_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01642_u0070783_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01642_u0070783_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01642_u0070783_8.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01642_u0070783_9.jpg
TOYOTA
LAND CRUISER
(2016)

TOYOTA 3.0DT VX AT

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

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 499 900
189250km
2016
AUTOMATIC
More details
https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01640_u0071268_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01640_u0071268_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01640_u0071268_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01640_u0071268_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01640_u0071268_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01640_u0071268_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01640_u0071268_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01640_u0071268_8.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01640_u0071268_9.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01640_u0071268_10.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01640_u0071268_11.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01640_u0071268_12.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01640_u0071268_13.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01640_u0071268_14.jpg
TOYOTA
LAND CRUISER
(2021)

TOYOTA 2.8L DIESEL TX

<?php
  
   $post_id = get_the_id();
$post_meta = get_post_meta($post_id);
  echo print_r($post_meta);
  ?>
JTEBR3FJ00K183271
JTEBR3FJ00K183271
Colour: White Pearl (CS) 070
MOL01640
29467932

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 799 900
90725km
2021
AUTOMATIC
More details
https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_u0071103_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_u0071103_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_u0071103_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_u0071103_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_u0071103_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_u0071103_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_u0071103_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_u0071103_8.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_u0071103_9.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_u0071103_10.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_u0071103_11.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_u0071103_12.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_u0071103_13.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_u0071103_14.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_u0071103_15.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_u0071103_16.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_u0071103_17.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_u0071103_18.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_u0071103_19.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_u0071103_20.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_u0071103_21.jpg
TOYOTA
LAND CRUISER
(2021)

TOYOTA 2.8L DIESEL TX

<?php
  
   $post_id = get_the_id();
$post_meta = get_post_meta($post_id);
  echo print_r($post_meta);
  ?>
JTEBR3FJ70K211079
JTEBR3FJ70K211079
Colour: WHITE
TOL00005
29469506

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 849 899
70731km
2021
AUTOMATIC
More details
https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01642_u0070724_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01642_u0070724_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01642_u0070724_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01642_u0070724_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01642_u0070724_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01642_u0070724_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01642_u0070724_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01642_u0070724_8.jpg
TOYOTA
LAND CRUISER
(2020)

TOYOTA 4.5D V8 PICK-UP

<?php
  
   $post_id = get_the_id();
$post_meta = get_post_meta($post_id);
  echo print_r($post_meta);
  ?>
TW1LV73J804802505
TW1LV73J804802505
Colour: White 058
MOL01642
29468014

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 849 900
57605km
2020
MANUAL
More details