<?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 RAV4 2.5 VX HYBRID CVT E-FOUR
R 699 899
Range:
RAV4
Year:
2025
Mileage:
20 000 km
Colour:
WHITE
Transmission:
Cvt
Fuel:
petrol-electric hybrid
Vehicle ID:
10429
Available from NMI Toyota Menlyn
Call Now
Available from Menlyn
NMI Toyota Menlyn, 125 Dallas Ave, Waterkloof Glen, Pretoria, 0010, South Africa
Similar Listings
https://ststockprodsanorth001.blob.core.windows.net/stock-images/JTMZ43FV10D099985_2_full.jpg?v=20261102061149, https://ststockprodsanorth001.blob.core.windows.net/stock-images/JTMZ43FV10D099985_1_full.jpg?v=20261102061151, https://ststockprodsanorth001.blob.core.windows.net/stock-images/JTMZ43FV10D099985_3_full.jpg?v=20261102061153, https://ststockprodsanorth001.blob.core.windows.net/stock-images/JTMZ43FV10D099985_4_full.jpg?v=20261102061155, https://ststockprodsanorth001.blob.core.windows.net/stock-images/JTMZ43FV10D099985_5_full.jpg?v=20261102061157, https://ststockprodsanorth001.blob.core.windows.net/stock-images/JTMZ43FV10D099985_6_full.jpg?v=20261102061159, https://ststockprodsanorth001.blob.core.windows.net/stock-images/JTMZ43FV10D099985_7_full.jpg?v=20261102061201, https://ststockprodsanorth001.blob.core.windows.net/stock-images/JTMZ43FV10D099985_8_full.jpg?v=20261102061203, https://ststockprodsanorth001.blob.core.windows.net/stock-images/JTMZ43FV10D099985_9_full.jpg?v=20261102061204, https://ststockprodsanorth001.blob.core.windows.net/stock-images/JTMZ43FV10D099985_10_full.jpg?v=20261102061206, https://ststockprodsanorth001.blob.core.windows.net/stock-images/JTMZ43FV10D099985_11_full.jpg?v=20261102061208, https://ststockprodsanorth001.blob.core.windows.net/stock-images/JTMZ43FV10D099985_12_full.jpg?v=20261102061210, https://ststockprodsanorth001.blob.core.windows.net/stock-images/JTMZ43FV10D099985_13_full.jpg?v=20261102061212, https://ststockprodsanorth001.blob.core.windows.net/stock-images/JTMZ43FV10D099985_14_full.jpg?v=20261102061214, https://ststockprodsanorth001.blob.core.windows.net/stock-images/JTMZ43FV10D099985_15_full.jpg?v=20261102061216, https://ststockprodsanorth001.blob.core.windows.net/stock-images/JTMZ43FV10D099985_16_full.jpg?v=20261102061219, https://ststockprodsanorth001.blob.core.windows.net/stock-images/JTMZ43FV10D099985_17_full.jpg?v=20261102061221, https://ststockprodsanorth001.blob.core.windows.net/stock-images/JTMZ43FV10D099985_18_full.jpg?v=20261102061222, https://ststockprodsanorth001.blob.core.windows.net/stock-images/JTMZ43FV10D099985_19_full.jpg?v=20261102061224
Toyota
RAV4
(2021)
Toyota RAV4 2.0 GX CVT
<?php $post_id = get_the_id(); $post_meta = get_post_meta($post_id); echo print_r($post_meta); ?>
JTMZ43FV10D099985
JTMZ43FV10D099985
Colour: WHITE
TOL00005
10496
10496
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/JTM5C3AV10D309963_1_full.jpg?v=20260816175150, https://ststockprodsanorth001.blob.core.windows.net/stock-images/JTM5C3AV10D309963_2_full.jpg?v=20260816175150, https://ststockprodsanorth001.blob.core.windows.net/stock-images/JTM5C3AV10D309963_3_full.jpg?v=20260816175150, https://ststockprodsanorth001.blob.core.windows.net/stock-images/JTM5C3AV10D309963_4_full.jpg?v=20260816175151, https://ststockprodsanorth001.blob.core.windows.net/stock-images/JTM5C3AV10D309963_5_full.jpg?v=20260816175151, https://ststockprodsanorth001.blob.core.windows.net/stock-images/JTM5C3AV10D309963_6_full.jpg?v=20260816175151, https://ststockprodsanorth001.blob.core.windows.net/stock-images/JTM5C3AV10D309963_7_full.jpg?v=20260816175151, https://ststockprodsanorth001.blob.core.windows.net/stock-images/JTM5C3AV10D309963_8_full.jpg?v=20260816175152
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); ?>
JTM5C3AV10D309963
JTM5C3AV10D309963
Colour: Massive Grey/Smokey Blue
TOL00005
3180
3180
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/JTM5C3AV70D316092_1_full.jpg?v=20260816175511, https://ststockprodsanorth001.blob.core.windows.net/stock-images/JTM5C3AV70D316092_2_full.jpg?v=20260816175511, https://ststockprodsanorth001.blob.core.windows.net/stock-images/JTM5C3AV70D316092_3_full.jpg?v=20260816175511, https://ststockprodsanorth001.blob.core.windows.net/stock-images/JTM5C3AV70D316092_4_full.jpg?v=20260816175511, https://ststockprodsanorth001.blob.core.windows.net/stock-images/JTM5C3AV70D316092_5_full.jpg?v=20260816175512, https://ststockprodsanorth001.blob.core.windows.net/stock-images/JTM5C3AV70D316092_6_full.jpg?v=20260816175512, https://ststockprodsanorth001.blob.core.windows.net/stock-images/JTM5C3AV70D316092_7_full.jpg?v=20260816175512, https://ststockprodsanorth001.blob.core.windows.net/stock-images/JTM5C3AV70D316092_8_full.jpg?v=20260816175512
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); ?>
JTM5C3AV70D316092
JTM5C3AV70D316092
Colour: Massive Grey/Smokey Blue
TOL00005
3030
3030
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/JTM5C3AV30D315781_1_full.jpg?v=20260815194839, https://ststockprodsanorth001.blob.core.windows.net/stock-images/JTM5C3AV30D315781_2_full.jpg?v=20260815194839, https://ststockprodsanorth001.blob.core.windows.net/stock-images/JTM5C3AV30D315781_3_full.jpg?v=20260815194839, https://ststockprodsanorth001.blob.core.windows.net/stock-images/JTM5C3AV30D315781_4_full.jpg?v=20260815194840, https://ststockprodsanorth001.blob.core.windows.net/stock-images/JTM5C3AV30D315781_5_full.jpg?v=20260815194840, https://ststockprodsanorth001.blob.core.windows.net/stock-images/JTM5C3AV30D315781_6_full.jpg?v=20260815194840, https://ststockprodsanorth001.blob.core.windows.net/stock-images/JTM5C3AV30D315781_7_full.jpg?v=20260815194840, https://ststockprodsanorth001.blob.core.windows.net/stock-images/JTM5C3AV30D315781_8_full.jpg?v=20260815194841
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); ?>
JTM5C3AV30D315781
JTM5C3AV30D315781
Colour: Massive Grey/Smokey Blue
TOL00005
3029
3029
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");
}
}
?>
















