<?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.4 GD-6 4X4 RAIDER MT DC

R 644 899
Range:
HILUX
Year:
2026
Mileage:
5 000 km
Colour:
Glacier White (040)
Transmission:
MANUAL
Fuel:
DIESEL
Vehicle ID:
29220605
Available from NMI Toyota Menlyn
<?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/tol00005_n0001132_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_n0001132_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_n0001132_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_n0001132_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_n0001132_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_n0001132_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_n0001132_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_n0001132_8.jpg
TOYOTA
HILUX
(2026)

TOYOTA 2.4 GD S AC 5MT

<?php
  
   $post_id = get_the_id();
$post_meta = get_post_meta($post_id);
  echo print_r($post_meta);
  ?>
AHTCB8CB204160556
AHTCB8CB204160556
Colour: Glacier White (040)
TOL00005
29220528

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 419 899
1km
2026
MANUAL
More details
https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_ud0050125_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_ud0050125_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_ud0050125_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_ud0050125_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_ud0050125_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_ud0050125_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_ud0050125_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_ud0050125_8.jpg
TOYOTA
HILUX
(2025)

TOYOTA 2.4 GD-6 RB RAIDER MT DC

<?php
  
   $post_id = get_the_id();
$post_meta = get_post_meta($post_id);
  echo print_r($post_meta);
  ?>
AHTJB3DD804542407
AHTJB3DD804542407
Colour: Glacier White (040)
TOL00005
29218996

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 579 899
12000km
2025
MANUAL
More details
https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_n0001442_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_n0001442_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_n0001442_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_n0001442_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_n0001442_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_n0001442_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_n0001442_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_n0001442_8.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_n0001442_9.jpg
TOYOTA
HILUX
(2026)

TOYOTA 2.4 GD-6 4X4 RAIDER MT DC

<?php
  
   $post_id = get_the_id();
$post_meta = get_post_meta($post_id);
  echo print_r($post_meta);
  ?>
AHTKB3CD402691852
AHTKB3CD402691852
Colour: Glacier White (040)
TOL00005
29219004

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 639 900
5000km
2026
MANUAL
More details
https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_u0070764_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_u0070764_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_u0070764_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_u0070764_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_u0070764_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_u0070764_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_u0070764_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_u0070764_8.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_u0070764_9.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_u0070764_10.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_u0070764_11.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_u0070764_12.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_u0070764_13.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_u0070764_14.jpg
TOYOTA
HILUX
(2024)

TOYOTA 2.8 GD-6 RB LEGEND 6AT DC

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

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 699 899
34000km
2024
AUTOMATIC
More details