<?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 RB RAIDER 6MT

R 489 950
Range:
HILUX
Year:
2025
Mileage:
1 724 km
Colour:
White
Transmission:
MANUAL
Fuel:
DIESEL
Vehicle ID:
28743366
Available from NMI Toyota Witbank
<?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/mol01651_u23203_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01651_u23203_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01651_u23203_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01651_u23203_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01651_u23203_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01651_u23203_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01651_u23203_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01651_u23203_8.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01651_u23203_9.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01651_u23203_10.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01651_u23203_11.jpg
TOYOTA
HILUX
(2021)

TOYOTA 2.4 GD-6 RB RAIDER 6MT

<?php
  
   $post_id = get_the_id();
$post_meta = get_post_meta($post_id);
  echo print_r($post_meta);
  ?>
AHTJB3DB704342097
AHTJB3DB704342097
Colour: Glacier White (
MOL01651
28744624

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 389 950
120014km
2021
MANUAL
More details
https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01651_u22873_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01651_u22873_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01651_u22873_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01651_u22873_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01651_u22873_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01651_u22873_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01651_u22873_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01651_u22873_8.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01651_u22873_9.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01651_u22873_10.jpg
TOYOTA
HILUX
(2025)

TOYOTA 2.4 GD-6 RB SR 6MT

<?php
  
   $post_id = get_the_id();
$post_meta = get_post_meta($post_id);
  echo print_r($post_meta);
  ?>
AHTJB3DB404353509
AHTJB3DB404353509
Colour: Glacier White
MOL01651
28744678

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 439 950
18000km
2025
MANUAL
More details
https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01651_u22412_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01651_u22412_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01651_u22412_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01651_u22412_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01651_u22412_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01651_u22412_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01651_u22412_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01651_u22412_8.jpg
TOYOTA
HILUX
(2023)

TOYOTA 2.4 GD-6 RB RAIDER 6AT XC

<?php
  
   $post_id = get_the_id();
$post_meta = get_post_meta($post_id);
  echo print_r($post_meta);
  ?>
AHTJB3DC504496686
AHTJB3DC504496686
Colour: Glacier White (
MOL01651
28744623

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 459 950
84906km
2023
AUTOMATIC
More details
https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01651_u23002_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01651_u23002_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01651_u23002_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01651_u23002_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01651_u23002_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01651_u23002_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01651_u23002_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01651_u23002_8.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01651_u23002_9.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01651_u23002_10.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01651_u23002_11.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01651_u23002_12.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01651_u23002_13.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01651_u23002_14.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01651_u23002_15.jpg
TOYOTA
HILUX
(2024)

TOYOTA 2.4 GD-6 RB RAIDER 6AT

<?php
  
   $post_id = get_the_id();
$post_meta = get_post_meta($post_id);
  echo print_r($post_meta);
  ?>
AHTJB3DB304350049
AHTJB3DB304350049
Colour: White
MOL01651
28744457

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 480 747
50609km
2024
AUTOMATIC
More details