<?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 GX auto
R 199 899
Range:
RAV4
Year:
2015
Mileage:
180 800 km
Colour:
WhitePearl(CS)070
Transmission:
Fuel:
Vehicle ID:
5736
Available from NMI Toyota Centurion
Call Now
Available from Centurion
NMI Toyota Centurion, 1301 South St, Zwartkop, Centurion, 0051, South Africa
Similar Listings
https://ststockprodsanorth001.blob.core.windows.net/stock-images/JTMZD3EV70J037882_3_full.jpg?v=20260909074758, https://ststockprodsanorth001.blob.core.windows.net/stock-images/JTMZD3EV70J037882_1_full.jpg?v=20260909074759, https://ststockprodsanorth001.blob.core.windows.net/stock-images/JTMZD3EV70J037882_2_full.jpg?v=20260909074801, https://ststockprodsanorth001.blob.core.windows.net/stock-images/JTMZD3EV70J037882_4_full.jpg?v=20260909074803, https://ststockprodsanorth001.blob.core.windows.net/stock-images/JTMZD3EV70J037882_5_full.jpg?v=20260909074806, https://ststockprodsanorth001.blob.core.windows.net/stock-images/JTMZD3EV70J037882_6_full.jpg?v=20260909074807, https://ststockprodsanorth001.blob.core.windows.net/stock-images/JTMZD3EV70J037882_7_full.jpg?v=20260909074809, https://ststockprodsanorth001.blob.core.windows.net/stock-images/JTMZD3EV70J037882_8_full.jpg?v=20260909074811, https://ststockprodsanorth001.blob.core.windows.net/stock-images/JTMZD3EV70J037882_9_full.jpg?v=20260909074814, https://ststockprodsanorth001.blob.core.windows.net/stock-images/JTMZD3EV70J037882_10_full.jpg?v=20260909074816, https://ststockprodsanorth001.blob.core.windows.net/stock-images/JTMZD3EV70J037882_11_full.jpg?v=20260909074818, https://ststockprodsanorth001.blob.core.windows.net/stock-images/JTMZD3EV70J037882_12_full.jpg?v=20260909074820, https://ststockprodsanorth001.blob.core.windows.net/stock-images/JTMZD3EV70J037882_13_full.jpg?v=20260909074822, https://ststockprodsanorth001.blob.core.windows.net/stock-images/JTMZD3EV70J037882_14_full.jpg?v=20260909074824, https://ststockprodsanorth001.blob.core.windows.net/stock-images/JTMZD3EV70J037882_15_full.jpg?v=20260909074826
Toyota
RAV4
(2015)
Toyota 2.0 GX auto
<?php $post_id = get_the_id(); $post_meta = get_post_meta($post_id); echo print_r($post_meta); ?>
JTMZD3EV70J037882
JTMZD3EV70J037882
Colour: White Pearl (CS) 070
TOL00005
5891
5891
Enquire
<?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");
}
}
?>
https://ststockprodsanorth001.blob.core.windows.net/stock-images/JTMJ43FV10D027679_7_full.jpg?v=20260831071306, https://ststockprodsanorth001.blob.core.windows.net/stock-images/JTMJ43FV10D027679_1_full.jpg?v=20260831071307, https://ststockprodsanorth001.blob.core.windows.net/stock-images/JTMJ43FV10D027679_3_full.jpg?v=20260831071308, https://ststockprodsanorth001.blob.core.windows.net/stock-images/JTMJ43FV10D027679_6_full.jpg?v=20260831071310, https://ststockprodsanorth001.blob.core.windows.net/stock-images/JTMJ43FV10D027679_8_full.jpg?v=20260831071311, https://ststockprodsanorth001.blob.core.windows.net/stock-images/JTMJ43FV10D027679_9_full.jpg?v=20260831071312, https://ststockprodsanorth001.blob.core.windows.net/stock-images/JTMJ43FV10D027679_5_full.jpg?v=20260831071313, https://ststockprodsanorth001.blob.core.windows.net/stock-images/JTMJ43FV10D027679_2_full.jpg?v=20260831071314, https://ststockprodsanorth001.blob.core.windows.net/stock-images/JTMJ43FV10D027679_4_full.jpg?v=20260831071316
Toyota
RAV4
(2022)
Toyota 2.0 GX-R AWD
<?php $post_id = get_the_id(); $post_meta = get_post_meta($post_id); echo print_r($post_meta); ?>
JTMJ43FV10D027679
JTMJ43FV10D027679
Colour: green
MOL01643
4983
4983
Enquire
<?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");
}
}
?>
https://ststockprodsanorth001.blob.core.windows.net/stock-images/JTMD13FV20D115310_9_full.jpg?v=20260914121831, https://ststockprodsanorth001.blob.core.windows.net/stock-images/JTMD13FV20D115310_10_full.jpg?v=20260914121831, https://ststockprodsanorth001.blob.core.windows.net/stock-images/JTMD13FV20D115310_8_full.jpg?v=20260914121831, https://ststockprodsanorth001.blob.core.windows.net/stock-images/JTMD13FV20D115310_7_full.jpg?v=20260914121831, https://ststockprodsanorth001.blob.core.windows.net/stock-images/JTMD13FV20D115310_6_full.jpg?v=20260914121831, https://ststockprodsanorth001.blob.core.windows.net/stock-images/JTMD13FV20D115310_5_full.jpg?v=20260914121831, https://ststockprodsanorth001.blob.core.windows.net/stock-images/JTMD13FV20D115310_4_full.jpg?v=20260914121831, https://ststockprodsanorth001.blob.core.windows.net/stock-images/JTMD13FV20D115310_3_full.jpg?v=20260914121831, https://ststockprodsanorth001.blob.core.windows.net/stock-images/JTMD13FV20D115310_2_full.jpg?v=20260914121831, https://ststockprodsanorth001.blob.core.windows.net/stock-images/JTMD13FV20D115310_1_full.jpg?v=20260914121831, https://ststockprodsanorth001.blob.core.windows.net/stock-images/JTMD13FV20D115310_11_full.jpg?v=20260914121832, https://ststockprodsanorth001.blob.core.windows.net/stock-images/JTMD13FV20D115310_12_full.jpg?v=20260914121832, https://ststockprodsanorth001.blob.core.windows.net/stock-images/JTMD13FV20D115310_13_full.jpg?v=20260914121832, https://ststockprodsanorth001.blob.core.windows.net/stock-images/JTMD13FV20D115310_14_full.jpg?v=20260914121832, https://ststockprodsanorth001.blob.core.windows.net/stock-images/JTMD13FV20D115310_15_full.jpg?v=20260914121832
Toyota
RAV4
(2025)
Toyota 2.5 VX AWD
<?php $post_id = get_the_id(); $post_meta = get_post_meta($post_id); echo print_r($post_meta); ?>
JTMD13FV20D115310
JTMD13FV20D115310
Colour: Tidal Blue
MOL01645
2763
2763
Enquire
<?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");
}
}
?>
https://fileone.e-toyota.co.za/data/vehiclestock/3898235/images/1782115389-image-6106-20260622-092814-9aa124f970b57800-preview_1080.jpg?v=20260910083822, https://fileone.e-toyota.co.za/data/vehiclestock/3898235/images/1782115392-image-6106-20260622-092816-b1a0ebade9e882a8-preview_1080.jpg?v=20260910083822, https://fileone.e-toyota.co.za/data/vehiclestock/3898235/images/1782115396-image-6106-20260622-092819-6f6e2ad1a3956832-preview_1080.jpg?v=20260910083822, https://fileone.e-toyota.co.za/data/vehiclestock/3898235/images/1782115399-image-6106-20260622-092821-57f22876fa92d6fb-preview_1080.jpg?v=20260910083822, https://fileone.e-toyota.co.za/data/vehiclestock/3898235/images/1782115401-image-6106-20260622-092824-dd34ee8a6f6a82fc-preview_1080.jpg?v=20260910083822, https://fileone.e-toyota.co.za/data/vehiclestock/3898235/images/1782115404-image-6106-20260622-092827-c8d9abe7dce9a9c4-preview_1080.jpg?v=20260910083822, https://fileone.e-toyota.co.za/data/vehiclestock/3898235/images/1782115407-image-6106-20260622-092829-33a0b815a76412a8-preview_1080.jpg?v=20260910083822, https://fileone.e-toyota.co.za/data/vehiclestock/3898235/images/1782115411-image-6106-20260622-092832-6d4d6a8be61a1c55-preview_1080.jpg?v=20260910083822, https://fileone.e-toyota.co.za/data/vehiclestock/3898235/images/1782115414-image-6106-20260622-092834-a239e7ff67b790f5-preview_1080.jpg?v=20260910083822, https://fileone.e-toyota.co.za/data/vehiclestock/3898235/images/1782115417-image-6106-20260622-092837-f41083c67569ac24-preview_1080.jpg?v=20260910083822
Toyota
RAV4
(2026)
Toyota RAV4 2.5 GX-R HYBRID CVT E-FOUR
<?php $post_id = get_the_id(); $post_meta = get_post_meta($post_id); echo print_r($post_meta); ?>
JTM5C3AV20D318557
JTM5C3AV20D318557
Colour: Massive Grey/Smokey Blue
MOL01645
2771
2771
Enquire
<?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");
}
}
?>

















