<?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,
}
}
});
});
FORD 1.0 ECOBOOST TITANIUM AT
R 379 899
Range:
PUMA
Year:
2025
Mileage:
5 754 km
Colour:
GREY
Transmission:
AUTOMATIC
Fuel:
UNLEADED
Vehicle ID:
28932418
Available from NMI Ford N1 City
<?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://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01633_u0071595_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01633_u0071595_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01633_u0071595_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01633_u0071595_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01633_u0071595_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01633_u0071595_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01633_u0071595_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01633_u0071595_8.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01633_u0071595_9.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01633_u0071595_10.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01633_u0071595_11.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01633_u0071595_12.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01633_u0071595_13.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01633_u0071595_14.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01633_u0071595_15.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01633_u0071595_16.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01633_u0071595_17.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01633_u0071595_18.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01633_u0071595_19.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01633_u0071595_20.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01633_u0071595_21.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01633_u0071595_22.jpg
FORD
PUMA
(2025)
FORD 1.0 ECOBOOST TITANIUM AT
<?php $post_id = get_the_id(); $post_meta = get_post_meta($post_id); echo print_r($post_meta); ?>
WF02XXERK2RG51317
WF02XXERK2RG51317
Colour: WHITE
MOL01633
28930685
28930685
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://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01633_u0071590_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01633_u0071590_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01633_u0071590_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01633_u0071590_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01633_u0071590_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01633_u0071590_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01633_u0071590_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01633_u0071590_8.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01633_u0071590_9.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01633_u0071590_10.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01633_u0071590_11.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01633_u0071590_12.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01633_u0071590_13.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01633_u0071590_14.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01633_u0071590_15.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01633_u0071590_16.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01633_u0071590_17.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01633_u0071590_18.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01633_u0071590_19.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01633_u0071590_20.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01633_u0071590_21.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01633_u0071590_22.jpg
FORD
PUMA
(2025)
FORD 1.0 ECOBOOST TITANIUM AT
<?php $post_id = get_the_id(); $post_meta = get_post_meta($post_id); echo print_r($post_meta); ?>
WF02XXERK2RB80411
WF02XXERK2RB80411
Colour: WHITE
MOL01633
28932414
28932414
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://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01633_u0071591_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01633_u0071591_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01633_u0071591_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01633_u0071591_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01633_u0071591_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01633_u0071591_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01633_u0071591_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01633_u0071591_8.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01633_u0071591_9.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01633_u0071591_10.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01633_u0071591_11.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01633_u0071591_12.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01633_u0071591_13.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01633_u0071591_14.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01633_u0071591_15.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01633_u0071591_16.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01633_u0071591_17.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01633_u0071591_18.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01633_u0071591_19.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01633_u0071591_20.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01633_u0071591_21.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01633_u0071591_22.jpg
FORD
PUMA
(2025)
FORD 1.0 ECOBOOST TITANIUM AT
<?php $post_id = get_the_id(); $post_meta = get_post_meta($post_id); echo print_r($post_meta); ?>
WF02XXERK2RB86132
WF02XXERK2RB86132
Colour: WHITE
MOL01633
28932415
28932415
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://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01633_u0071592_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01633_u0071592_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01633_u0071592_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01633_u0071592_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01633_u0071592_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01633_u0071592_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01633_u0071592_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01633_u0071592_8.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01633_u0071592_9.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01633_u0071592_10.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01633_u0071592_11.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01633_u0071592_12.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01633_u0071592_13.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01633_u0071592_14.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01633_u0071592_15.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01633_u0071592_16.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01633_u0071592_17.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01633_u0071592_18.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01633_u0071592_19.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01633_u0071592_20.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01633_u0071592_21.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01633_u0071592_22.jpg
FORD
PUMA
(2025)
FORD 1.0 ECOBOOST TITANIUM AT
<?php $post_id = get_the_id(); $post_meta = get_post_meta($post_id); echo print_r($post_meta); ?>
WF02XXERK2RG51316
WF02XXERK2RG51316
Colour: GREY
MOL01633
28932416
28932416
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");
}
}
?>
