<?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, } } }); });
VOLKSWAGEN TIGUAN (2022)
VOLKSWAGEN ALLSPACE MY22 1.4 TSI LIFE DSG
R 399 990
Range:
TIGUAN
Year:
2022
Mileage:
120 349km
Colour:
PURE WHITE
Transmission:
AUTOMATIC
Fuel:
UNLEADED
Vehicle ID:
28188491
Available from Barons Woodmead
<?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/tol10136_u0070121_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10136_u0070121_10.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10136_u0070121_11.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10136_u0070121_15.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10136_u0070121_16.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10136_u0070121_17.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10136_u0070121_20.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10136_u0070121_21.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10136_u0070121_22.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10136_u0070121_23.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10136_u0070121_25.jpg
VOLKSWAGEN
TIGUAN
(2015)
VOLKSWAGEN 1.4 TSI BMT TREND + FUN 4X2 DSG (118k
Array
(
[vehicleid] => Array
(
[0] => 28190642
)
[dumpdate] => Array
(
[0] => 2025-09-02T08:51:52.11
)
[mmcode] => Array
(
[0] => 64078098
)
[molstockbooknumber] => Array
(
[0] => TOL10136_U0070121
)
[stockbooknumber] => Array
(
[0] => U0070121
)
[vinnumber] => Array
(
[0] => WVGZZZ5NZEW118179
)
[regnumber] => Array
(
[0] => DDW674NC
)
[uploadtype] => Array
(
[0] => USED
)
[vehiclemake] => Array
(
[0] => VOLKSWAGEN
)
[vehiclerange] => Array
(
[0] => TIGUAN
)
[vehiclemodel] => Array
(
[0] => 1.4 TSI BMT TREND + FUN 4X2 DSG (118k
)
[vehicleyear] => Array
(
[0] => 2015
)
[bodytype] => Array
(
[0] => STATION WAGON
)
[transmissiontype] => Array
(
[0] => AUTOMATIC
)
[fueltype] => Array
(
[0] => UNLEADED
)
[colour] => Array
(
[0] => SILVER
)
[numberofdoors] => Array
(
[0] => 5
)
[mileage] => Array
(
[0] => 106072
)
[servicehistory] => Array
(
[0] => None
)
[comments] => Array
(
[0] =>
)
[price] => Array
(
[0] => 209900
)
[dealershipid] => Array
(
[0] => 233
)
[molnumber] => Array
(
[0] => TOL10136
)
[dealershipname] => Array
(
[0] => Barons Kuruman
)
[pictures] => Array
(
[0] => a:11:{i:0;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10136_u0070121_1.jpg";i:1;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10136_u0070121_10.jpg";i:2;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10136_u0070121_11.jpg";i:3;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10136_u0070121_15.jpg";i:4;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10136_u0070121_16.jpg";i:5;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10136_u0070121_17.jpg";i:6;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10136_u0070121_20.jpg";i:7;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10136_u0070121_21.jpg";i:8;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10136_u0070121_22.jpg";i:9;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10136_u0070121_23.jpg";i:10;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10136_u0070121_25.jpg";}
)
[nmi_vehicle_id] => Array
(
[0] => WVGZZZ5NZEW118179
)
)
1
WVGZZZ5NZEW118179
WVGZZZ5NZEW118179
Colour: SILVER
TOL10136
28190642
28190642
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/mol01400_u0070561_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01400_u0070561_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01400_u0070561_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01400_u0070561_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01400_u0070561_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01400_u0070561_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01400_u0070561_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01400_u0070561_8.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01400_u0070561_9.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01400_u0070561_10.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01400_u0070561_11.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01400_u0070561_12.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01400_u0070561_13.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01400_u0070561_14.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01400_u0070561_15.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01400_u0070561_16.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01400_u0070561_17.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01400_u0070561_18.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01400_u0070561_19.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01400_u0070561_20.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01400_u0070561_21.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01400_u0070561_22.jpg
VOLKSWAGEN
TIGUAN
(2020)
VOLKSWAGEN MY17 1.4 TSI COMFORTLINE DSG
Array
(
[vehicleid] => Array
(
[0] => 28190992
)
[dumpdate] => Array
(
[0] => 2025-09-02T08:53:28.04
)
[mmcode] => Array
(
[0] => 64078096
)
[molstockbooknumber] => Array
(
[0] => MOL01400_U0070561
)
[stockbooknumber] => Array
(
[0] => U0070561
)
[vinnumber] => Array
(
[0] => WVGZZZ5NZLW890391
)
[regnumber] => Array
(
[0] => LT32RKGP
)
[uploadtype] => Array
(
[0] => USED
)
[vehiclemake] => Array
(
[0] => VOLKSWAGEN
)
[vehiclerange] => Array
(
[0] => TIGUAN
)
[vehiclemodel] => Array
(
[0] => MY17 1.4 TSI COMFORTLINE DSG
)
[vehicleyear] => Array
(
[0] => 2020
)
[bodytype] => Array
(
[0] => STATION WAGON
)
[transmissiontype] => Array
(
[0] => AUTOMATIC
)
[fueltype] => Array
(
[0] => UNLEADED
)
[colour] => Array
(
[0] => SILVER
)
[numberofdoors] => Array
(
[0] => 5
)
[mileage] => Array
(
[0] => 68394
)
[servicehistory] => Array
(
[0] => Full
)
[comments] => Array
(
[0] =>
)
[price] => Array
(
[0] => 379800
)
[dealershipid] => Array
(
[0] => 10
)
[molnumber] => Array
(
[0] => MOL01400
)
[dealershipname] => Array
(
[0] => Barons Woodmead
)
[pictures] => Array
(
[0] => a:22:{i:0;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01400_u0070561_1.jpg";i:1;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01400_u0070561_2.jpg";i:2;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01400_u0070561_3.jpg";i:3;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01400_u0070561_4.jpg";i:4;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01400_u0070561_5.jpg";i:5;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01400_u0070561_6.jpg";i:6;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01400_u0070561_7.jpg";i:7;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01400_u0070561_8.jpg";i:8;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01400_u0070561_9.jpg";i:9;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01400_u0070561_10.jpg";i:10;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01400_u0070561_11.jpg";i:11;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01400_u0070561_12.jpg";i:12;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01400_u0070561_13.jpg";i:13;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01400_u0070561_14.jpg";i:14;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01400_u0070561_15.jpg";i:15;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01400_u0070561_16.jpg";i:16;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01400_u0070561_17.jpg";i:17;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01400_u0070561_18.jpg";i:18;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01400_u0070561_19.jpg";i:19;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01400_u0070561_20.jpg";i:20;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01400_u0070561_21.jpg";i:21;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01400_u0070561_22.jpg";}
)
[nmi_vehicle_id] => Array
(
[0] => WVGZZZ5NZLW890391
)
)
1
WVGZZZ5NZLW890391
WVGZZZ5NZLW890391
Colour: SILVER
MOL01400
28190992
28190992
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/mol01433_u31093_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u31093_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u31093_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u31093_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u31093_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u31093_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u31093_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u31093_8.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u31093_9.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u31093_10.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u31093_11.jpg
VOLKSWAGEN
TIGUAN
(2020)
VOLKSWAGEN ALLSPACE 1.4 TSI TRENDLINE DSG
Array
(
[vehicleid] => Array
(
[0] => 28191827
)
[dumpdate] => Array
(
[0] => 2025-09-02T08:50:32.46
)
[mmcode] => Array
(
[0] => 64078710
)
[molstockbooknumber] => Array
(
[0] => MOL01433_U0071390
)
[stockbooknumber] => Array
(
[0] => U0071390
)
[vinnumber] => Array
(
[0] => WVGZZZ5NZLM159934
)
[regnumber] => Array
(
[0] => CAA428137
)
[uploadtype] => Array
(
[0] => USED
)
[vehiclemake] => Array
(
[0] => VOLKSWAGEN
)
[vehiclerange] => Array
(
[0] => TIGUAN
)
[vehiclemodel] => Array
(
[0] => ALLSPACE 1.4 TSI TRENDLINE DSG
)
[vehicleyear] => Array
(
[0] => 2020
)
[bodytype] => Array
(
[0] => STATION WAGON
)
[transmissiontype] => Array
(
[0] => AUTOMATIC
)
[fueltype] => Array
(
[0] => UNLEADED
)
[colour] => Array
(
[0] => Pyrite Silver
)
[numberofdoors] => Array
(
[0] => 5
)
[mileage] => Array
(
[0] => 113561
)
[servicehistory] => Array
(
[0] => Full
)
[comments] => Array
(
[0] => 1.4 TSI 110kW 2WD 6-Speed DSG | 110kW @ 250Nm | 161 CO2 | Fuel Consumption – 7.1l/100km | ESP, ABS, ASR, EDL, XDS, MSR, Multi-collision brake system |
)
[price] => Array
(
[0] => 388999
)
[dealershipid] => Array
(
[0] => 52
)
[molnumber] => Array
(
[0] => MOL01433
)
[dealershipname] => Array
(
[0] => Barons N1 City
)
[pictures] => Array
(
[0] => a:11:{i:0;s:88:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u31093_1.jpg";i:1;s:88:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u31093_2.jpg";i:2;s:88:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u31093_3.jpg";i:3;s:88:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u31093_4.jpg";i:4;s:88:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u31093_5.jpg";i:5;s:88:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u31093_6.jpg";i:6;s:88:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u31093_7.jpg";i:7;s:88:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u31093_8.jpg";i:8;s:88:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u31093_9.jpg";i:9;s:89:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u31093_10.jpg";i:10;s:89:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u31093_11.jpg";}
)
[nmi_vehicle_id] => Array
(
[0] => WVGZZZ5NZLM159934
)
)
1
WVGZZZ5NZLM159934
WVGZZZ5NZLM159934
Colour: Pyrite Silver
MOL01433
28191827
28191827
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/mol01400_u0070699_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01400_u0070699_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01400_u0070699_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01400_u0070699_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01400_u0070699_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01400_u0070699_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01400_u0070699_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01400_u0070699_8.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01400_u0070699_9.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01400_u0070699_10.jpg
VOLKSWAGEN
TIGUAN
(2018)
VOLKSWAGEN MY17 2.0 TDI HIGHLINE 4MOTION DSG
Array
(
[vehicleid] => Array
(
[0] => 28193684
)
[dumpdate] => Array
(
[0] => 2025-09-02T08:52:09.53
)
[mmcode] => Array
(
[0] => 64078380
)
[molstockbooknumber] => Array
(
[0] => MOL01400_U0070699
)
[stockbooknumber] => Array
(
[0] => U0070699
)
[vinnumber] => Array
(
[0] => WVGZZZ5NZJW964758
)
[regnumber] => Array
(
[0] => HR19HYGP
)
[uploadtype] => Array
(
[0] => USED
)
[vehiclemake] => Array
(
[0] => VOLKSWAGEN
)
[vehiclerange] => Array
(
[0] => TIGUAN
)
[vehiclemodel] => Array
(
[0] => MY17 2.0 TDI HIGHLINE 4MOTION DSG
)
[vehicleyear] => Array
(
[0] => 2018
)
[bodytype] => Array
(
[0] => STATION WAGON
)
[transmissiontype] => Array
(
[0] => AUTOMATIC
)
[fueltype] => Array
(
[0] => DIESEL
)
[colour] => Array
(
[0] => PURE WHITE
)
[numberofdoors] => Array
(
[0] => 5
)
[mileage] => Array
(
[0] => 94861
)
[servicehistory] => Array
(
[0] => Full
)
[comments] => Array
(
[0] => Please call or visit us today to test drive this stunning vehicle and experience our friendly, trusted and professional service. Our trusted Business Manager provides finance, insurance, maintenance, service, warranty plans and many other products that will put your mind at ease. Please note that the price excludes Admin fees.
)
[price] => Array
(
[0] => 419899
)
[dealershipid] => Array
(
[0] => 10
)
[molnumber] => Array
(
[0] => MOL01400
)
[dealershipname] => Array
(
[0] => Barons Woodmead
)
[pictures] => Array
(
[0] => a:10:{i:0;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01400_u0070699_1.jpg";i:1;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01400_u0070699_2.jpg";i:2;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01400_u0070699_3.jpg";i:3;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01400_u0070699_4.jpg";i:4;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01400_u0070699_5.jpg";i:5;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01400_u0070699_6.jpg";i:6;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01400_u0070699_7.jpg";i:7;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01400_u0070699_8.jpg";i:8;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01400_u0070699_9.jpg";i:9;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01400_u0070699_10.jpg";}
)
[nmi_vehicle_id] => Array
(
[0] => WVGZZZ5NZJW964758
)
)
1
WVGZZZ5NZJW964758
WVGZZZ5NZJW964758
Colour: PURE WHITE
MOL01400
28193684
28193684
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"); } } ?>