<?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.0 VX

R 449 900
Range:
RAV4
Year:
2022
Mileage:
102 962 km
Colour:
Glacier White (040)
Transmission:
Cvt
Fuel:
petrol
Vehicle ID:
2689
Available from NMI Toyota Centurion
<?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://ststockprodsanorth001.blob.core.windows.net/stock-images/JTMZD3EV00J124474_2_full.jpg?v=20260821135808, https://ststockprodsanorth001.blob.core.windows.net/stock-images/JTMZD3EV00J124474_1_full.jpg?v=20260821135809, https://ststockprodsanorth001.blob.core.windows.net/stock-images/JTMZD3EV00J124474_3_full.jpg?v=20260821135810, https://ststockprodsanorth001.blob.core.windows.net/stock-images/JTMZD3EV00J124474_4_full.jpg?v=20260821135811, https://ststockprodsanorth001.blob.core.windows.net/stock-images/JTMZD3EV00J124474_5_full.jpg?v=20260821135811, https://ststockprodsanorth001.blob.core.windows.net/stock-images/JTMZD3EV00J124474_6_full.jpg?v=20260821135812, https://ststockprodsanorth001.blob.core.windows.net/stock-images/JTMZD3EV00J124474_7_full.jpg?v=20260821135813, https://ststockprodsanorth001.blob.core.windows.net/stock-images/JTMZD3EV00J124474_8_full.jpg?v=20260821135814, https://ststockprodsanorth001.blob.core.windows.net/stock-images/JTMZD3EV00J124474_9_full.jpg?v=20260821135815, https://ststockprodsanorth001.blob.core.windows.net/stock-images/JTMZD3EV00J124474_10_full.jpg?v=20260821135816, https://ststockprodsanorth001.blob.core.windows.net/stock-images/JTMZD3EV00J124474_11_full.jpg?v=20260821135818, https://ststockprodsanorth001.blob.core.windows.net/stock-images/JTMZD3EV00J124474_12_full.jpg?v=20260821135819, https://ststockprodsanorth001.blob.core.windows.net/stock-images/JTMZD3EV00J124474_13_full.jpg?v=20260821135820, https://ststockprodsanorth001.blob.core.windows.net/stock-images/JTMZD3EV00J124474_14_full.jpg?v=20260821135821, https://ststockprodsanorth001.blob.core.windows.net/stock-images/JTMZD3EV00J124474_15_full.jpg?v=20260821135822, https://ststockprodsanorth001.blob.core.windows.net/stock-images/JTMZD3EV00J124474_16_full.jpg?v=20260821135824
Toyota
RAV4
(2018)

Toyota 2.0 GX

<?php
  
   $post_id = get_the_id();
$post_meta = get_post_meta($post_id);
  echo print_r($post_meta);
  ?>
JTMZD3EV00J124474
JTMZD3EV00J124474
Colour: Glacier White (040)
MOL01640
2150

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 249 900
99899km
2018
More details
https://ststockprodsanorth001.blob.core.windows.net/stock-images/JTMZD3EV40J176593_3_full.jpg?v=20260821150042, https://ststockprodsanorth001.blob.core.windows.net/stock-images/JTMZD3EV40J176593_1_full.jpg?v=20260821150044, https://ststockprodsanorth001.blob.core.windows.net/stock-images/JTMZD3EV40J176593_2_full.jpg?v=20260821150046, https://ststockprodsanorth001.blob.core.windows.net/stock-images/JTMZD3EV40J176593_4_full.jpg?v=20260821150048, https://ststockprodsanorth001.blob.core.windows.net/stock-images/JTMZD3EV40J176593_5_full.jpg?v=20260821150049, https://ststockprodsanorth001.blob.core.windows.net/stock-images/JTMZD3EV40J176593_6_full.jpg?v=20260821150051, https://ststockprodsanorth001.blob.core.windows.net/stock-images/JTMZD3EV40J176593_7_full.jpg?v=20260821150053, https://ststockprodsanorth001.blob.core.windows.net/stock-images/JTMZD3EV40J176593_8_full.jpg?v=20260821150055, https://ststockprodsanorth001.blob.core.windows.net/stock-images/JTMZD3EV40J176593_9_full.jpg?v=20260821150057, https://ststockprodsanorth001.blob.core.windows.net/stock-images/JTMZD3EV40J176593_10_full.jpg?v=20260821150058, https://ststockprodsanorth001.blob.core.windows.net/stock-images/JTMZD3EV40J176593_11_full.jpg?v=20260821150100, https://ststockprodsanorth001.blob.core.windows.net/stock-images/JTMZD3EV40J176593_12_full.jpg?v=20260821150102, https://ststockprodsanorth001.blob.core.windows.net/stock-images/JTMZD3EV40J176593_13_full.jpg?v=20260821150103, https://ststockprodsanorth001.blob.core.windows.net/stock-images/JTMZD3EV40J176593_14_full.jpg?v=20260821150105, https://ststockprodsanorth001.blob.core.windows.net/stock-images/JTMZD3EV40J176593_15_full.jpg?v=20260821150107, https://ststockprodsanorth001.blob.core.windows.net/stock-images/JTMZD3EV40J176593_16_full.jpg?v=20260821150109, https://ststockprodsanorth001.blob.core.windows.net/stock-images/JTMZD3EV40J176593_17_full.jpg?v=20260821150111, https://ststockprodsanorth001.blob.core.windows.net/stock-images/JTMZD3EV40J176593_18_full.jpg?v=20260821150112, https://ststockprodsanorth001.blob.core.windows.net/stock-images/JTMZD3EV40J176593_19_full.jpg?v=20260821150114
Toyota
RAV4
(2019)

Toyota 2.0 GX auto

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

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 289 899
75201km
2019
More details
https://ststockprodsanorth001.blob.core.windows.net/stockimages/2802/01.jpg?v=20260815192312, https://ststockprodsanorth001.blob.core.windows.net/stockimages/2802/02.jpg?v=20260815192312, https://ststockprodsanorth001.blob.core.windows.net/stockimages/2802/03.jpg?v=20260815192312, https://ststockprodsanorth001.blob.core.windows.net/stockimages/2802/04.jpg?v=20260815192312, https://ststockprodsanorth001.blob.core.windows.net/stockimages/2802/05.jpg?v=20260815192312, https://ststockprodsanorth001.blob.core.windows.net/stockimages/2802/06.jpg?v=20260815192313, https://ststockprodsanorth001.blob.core.windows.net/stockimages/2802/07.jpg?v=20260815192313, https://ststockprodsanorth001.blob.core.windows.net/stockimages/2802/08.jpg?v=20260815192313, https://ststockprodsanorth001.blob.core.windows.net/stockimages/2802/09.jpg?v=20260815192313, https://ststockprodsanorth001.blob.core.windows.net/stockimages/2802/10.jpg?v=20260815192314, https://ststockprodsanorth001.blob.core.windows.net/stockimages/2802/11.jpg?v=20260815192314, https://ststockprodsanorth001.blob.core.windows.net/stockimages/2802/12.jpg?v=20260815192314, https://ststockprodsanorth001.blob.core.windows.net/stockimages/2802/13.jpg?v=20260815192314, https://ststockprodsanorth001.blob.core.windows.net/stockimages/2802/14.jpg?v=20260815192315
Toyota
RAV4
(2019)

Toyota 2.0 GX auto

<?php
  
   $post_id = get_the_id();
$post_meta = get_post_meta($post_id);
  echo print_r($post_meta);
  ?>
JTMZ43FV00J010540
JTMZ43FV00J010540
Colour: white
MOL01645
2802

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 329 899
93430km
2019
Cvt
More details
https://ststockprodsanorth001.blob.core.windows.net/stockimages/2117/01.jpg?v=20260815193242, https://ststockprodsanorth001.blob.core.windows.net/stockimages/2117/02.jpg?v=20260815193242, https://ststockprodsanorth001.blob.core.windows.net/stockimages/2117/03.jpg?v=20260815193243, https://ststockprodsanorth001.blob.core.windows.net/stockimages/2117/04.jpg?v=20260815193243, https://ststockprodsanorth001.blob.core.windows.net/stockimages/2117/05.jpg?v=20260815193243, https://ststockprodsanorth001.blob.core.windows.net/stockimages/2117/06.jpg?v=20260815193243, https://ststockprodsanorth001.blob.core.windows.net/stockimages/2117/07.jpg?v=20260815193243, https://ststockprodsanorth001.blob.core.windows.net/stockimages/2117/08.jpg?v=20260815193244, https://ststockprodsanorth001.blob.core.windows.net/stockimages/2117/09.jpg?v=20260815193244, https://ststockprodsanorth001.blob.core.windows.net/stockimages/2117/10.jpg?v=20260815193244, https://ststockprodsanorth001.blob.core.windows.net/stockimages/2117/11.jpg?v=20260815193244, https://ststockprodsanorth001.blob.core.windows.net/stockimages/2117/12.jpg?v=20260815193245
Toyota
RAV4
(2019)

Toyota 2.0 VX

<?php
  
   $post_id = get_the_id();
$post_meta = get_post_meta($post_id);
  echo print_r($post_meta);
  ?>
JTMY43FV80D015513
JTMY43FV80D015513
Colour: Glacier White (040)
MOL01640
2117

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 369 900
76074km
2019
Cvt
More details