<?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,
}
}
});
});
Chery Tiggo 4 Pro (2022)
Chery TIGGO 4 PRO 1.5T ELITE SE CVT
R 269 950
Range:
Tiggo 4 Pro
Year:
2022
Mileage:
17 500km
Colour:
Black
Transmission:
Cvt
Fuel:
petrol
Vehicle ID:
12549
Additional Information:
The 2023 Chery Tiggo 4 Pro 1.5T Elite SE CVT (ADAS) is a compact SUV pairing a 1.5-litre turbo petrol engine (108 kW) and continuously variable transmission (CVT) with Advanced Driver-Assistance Systems (ADAS) and upper-trim features.
Available from NMI Chery Claremont
<?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");
}
}
?>Similar Listings
https://content.nmi.co.za/stockimages/LVVDB11B4SC258031_14_full.jpg?v=20260903114053, https://content.nmi.co.za/stockimages/LVVDB11B4SC258031_12_full.jpg?v=20260903114055, https://content.nmi.co.za/stockimages/LVVDB11B4SC258031_5_full.jpg?v=20260903114057, https://content.nmi.co.za/stockimages/LVVDB11B4SC258031_4_full.jpg?v=20260903114059, https://content.nmi.co.za/stockimages/LVVDB11B4SC258031_13_full.jpg?v=20260903114101, https://content.nmi.co.za/stockimages/LVVDB11B4SC258031_3_full.jpg?v=20260903114103, https://content.nmi.co.za/stockimages/LVVDB11B4SC258031_1_full.jpg?v=20260903114106, https://content.nmi.co.za/stockimages/LVVDB11B4SC258031_2_full.jpg?v=20260903114108, https://content.nmi.co.za/stockimages/LVVDB11B4SC258031_6_full.jpg?v=20260903114110, https://content.nmi.co.za/stockimages/LVVDB11B4SC258031_7_full.jpg?v=20260903114113, https://content.nmi.co.za/stockimages/LVVDB11B4SC258031_8_full.jpg?v=20260903114115, https://content.nmi.co.za/stockimages/LVVDB11B4SC258031_9_full.jpg?v=20260903114117, https://content.nmi.co.za/stockimages/LVVDB11B4SC258031_10_full.jpg?v=20260903114120, https://content.nmi.co.za/stockimages/LVVDB11B4SC258031_11_full.jpg?v=20260903114123, https://content.nmi.co.za/stockimages/LVVDB11B4SC258031_15_full.jpg?v=20260903114125
Chery
Tiggo 4 Pro
(2026)
Chery TIGGO 4 PRO 1.5 LIT
<?php $post_id = get_the_id(); $post_meta = get_post_meta($post_id); echo print_r($post_meta); ?>
LVVDB11B4SC258031
LVVDB11B4SC258031
Colour: White
TOL10172
4193
4193
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");
}
}
?>














