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,
            }
        }
    });
});

Toyota HILUX 2.4 GD S/C F/DECK

R 435 700
Range:
Hilux
Year:
2026
Mileage:
1 500 km
Colour:
Glacier White (040)
Transmission:
Manual
Fuel:
diesel
Vehicle ID:
2366
Available from NMI Toyota Middelburg
<?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://ststockprodsanorth001.blob.core.windows.net/stock-images/AHTFZ29G809016389_12_full.jpg?v=20261016140941, https://ststockprodsanorth001.blob.core.windows.net/stock-images/AHTFZ29G809016389_1_full.jpg?v=20261016140929, https://ststockprodsanorth001.blob.core.windows.net/stock-images/AHTFZ29G809016389_2_full.jpg?v=20261016140930, https://ststockprodsanorth001.blob.core.windows.net/stock-images/AHTFZ29G809016389_3_full.jpg?v=20261016140931, https://ststockprodsanorth001.blob.core.windows.net/stock-images/AHTFZ29G809016389_4_full.jpg?v=20261016140932, https://ststockprodsanorth001.blob.core.windows.net/stock-images/AHTFZ29G809016389_5_full.jpg?v=20261016140933, https://ststockprodsanorth001.blob.core.windows.net/stock-images/AHTFZ29G809016389_6_full.jpg?v=20261016140934, https://ststockprodsanorth001.blob.core.windows.net/stock-images/AHTFZ29G809016389_7_full.jpg?v=20261016140935, https://ststockprodsanorth001.blob.core.windows.net/stock-images/AHTFZ29G809016389_8_full.jpg?v=20261016140936, https://ststockprodsanorth001.blob.core.windows.net/stock-images/AHTFZ29G809016389_9_full.jpg?v=20261016140937, https://ststockprodsanorth001.blob.core.windows.net/stock-images/AHTFZ29G809016389_10_full.jpg?v=20261016140939, https://ststockprodsanorth001.blob.core.windows.net/stock-images/AHTFZ29G809016389_11_full.jpg?v=20261016140940, https://ststockprodsanorth001.blob.core.windows.net/stock-images/AHTFZ29G809016389_13_full.jpg?v=20261016140942, https://ststockprodsanorth001.blob.core.windows.net/stock-images/AHTFZ29G809016389_14_full.jpg?v=20261016140944, https://ststockprodsanorth001.blob.core.windows.net/stock-images/AHTFZ29G809016389_15_full.jpg?v=20261016140945
Toyota
Hilux
(2007)

Toyota HILUX 3.0D-4D RAIDER 4X4 P/U D/C

<?php
  
   $post_id = get_the_id();
$post_meta = get_post_meta($post_id);
  echo print_r($post_meta);
  ?>
AHTFZ29G809016389
AHTFZ29G809016389
Colour: SILVER
MOL01643
9575

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 239 900
375000km
2007
Manual
More details
https://ststockprodsanorth001.blob.core.windows.net/stock-images/AHTKB3CB602384391_1_full.jpg?v=20260816172846, https://ststockprodsanorth001.blob.core.windows.net/stock-images/AHTKB3CB602384391_2_full.jpg?v=20260816172847, https://ststockprodsanorth001.blob.core.windows.net/stock-images/AHTKB3CB602384391_3_full.jpg?v=20260816172847, https://ststockprodsanorth001.blob.core.windows.net/stock-images/AHTKB3CB602384391_4_full.jpg?v=20260816172847, https://ststockprodsanorth001.blob.core.windows.net/stock-images/AHTKB3CB602384391_5_full.jpg?v=20260816172847, https://ststockprodsanorth001.blob.core.windows.net/stock-images/AHTKB3CB602384391_6_full.jpg?v=20260816172848
Toyota
Hilux
(2025)

Toyota HILUX 2.4 GD-6 SR 4X4 P/U S/C

<?php
  
   $post_id = get_the_id();
$post_meta = get_post_meta($post_id);
  echo print_r($post_meta);
  ?>
AHTKB3CB602384391
AHTKB3CB602384391
Colour: Glacier White (040)
MOL01643
2423

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 479 900
38468km
2025
Manual
More details
https://ststockprodsanorth001.blob.core.windows.net/stock-images/AHTHA3CD503434495_13_full.jpg?v=20261013133855, https://ststockprodsanorth001.blob.core.windows.net/stock-images/AHTHA3CD503434495_2_full.jpg?v=20261013133856, https://ststockprodsanorth001.blob.core.windows.net/stock-images/AHTHA3CD503434495_1_full.jpg?v=20261013133857, https://ststockprodsanorth001.blob.core.windows.net/stock-images/AHTHA3CD503434495_5_full.jpg?v=20261013133859, https://ststockprodsanorth001.blob.core.windows.net/stock-images/AHTHA3CD503434495_6_full.jpg?v=20261013133900, https://ststockprodsanorth001.blob.core.windows.net/stock-images/AHTHA3CD503434495_7_full.jpg?v=20261013133901, https://ststockprodsanorth001.blob.core.windows.net/stock-images/AHTHA3CD503434495_8_full.jpg?v=20261013133902, https://ststockprodsanorth001.blob.core.windows.net/stock-images/AHTHA3CD503434495_9_full.jpg?v=20261013133903, https://ststockprodsanorth001.blob.core.windows.net/stock-images/AHTHA3CD503434495_10_full.jpg?v=20261013133904, https://ststockprodsanorth001.blob.core.windows.net/stock-images/AHTHA3CD503434495_11_full.jpg?v=20261013133905, https://ststockprodsanorth001.blob.core.windows.net/stock-images/AHTHA3CD503434495_12_full.jpg?v=20261013133907, https://ststockprodsanorth001.blob.core.windows.net/stock-images/AHTHA3CD503434495_14_full.jpg?v=20261013133908, https://ststockprodsanorth001.blob.core.windows.net/stock-images/AHTHA3CD503434495_15_full.jpg?v=20261013133909, https://ststockprodsanorth001.blob.core.windows.net/stock-images/AHTHA3CD503434495_4_full.jpg?v=20261013133910, https://ststockprodsanorth001.blob.core.windows.net/stock-images/AHTHA3CD503434495_3_full.jpg?v=20261013133911
Toyota
Hilux
(2020)

Toyota HILUX 2.8 GD-6 RAIDER 4X4 P/U D/C

<?php
  
   $post_id = get_the_id();
$post_meta = get_post_meta($post_id);
  echo print_r($post_meta);
  ?>
AHTHA3CD503434495
AHTHA3CD503434495
Colour: Glacier White (040)
MOL01643
9136

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 485 900
190935km
2020
Manual
More details
https://ststockprodsanorth001.blob.core.windows.net/stock-images/AHTJB3DB204354643_1_full.jpg?v=20260816172646, https://ststockprodsanorth001.blob.core.windows.net/stock-images/AHTJB3DB204354643_2_full.jpg?v=20260816172646, https://ststockprodsanorth001.blob.core.windows.net/stock-images/AHTJB3DB204354643_3_full.jpg?v=20260816172646
Toyota
Hilux
(2026)

Toyota HILUX 2.4 GD-6 RB SR P/U S/C

<?php
  
   $post_id = get_the_id();
$post_meta = get_post_meta($post_id);
  echo print_r($post_meta);
  ?>
AHTJB3DB204354643
AHTJB3DB204354643
Colour: Glacier White (040)
MOL01643
2434

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 494 900
23864km
2026
Manual
More details