<?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 T-CROSS (2023)
VOLKSWAGEN MY20 1.0 TSI COMFORTLINE DSG
R 349 000
Range:
T-CROSS
Year:
2023
Mileage:
47 586km
Colour:
Reef Blue
Transmission:
AUTOMATIC
Fuel:
UNLEADED
Vehicle ID:
28324508
Available from Barons 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"); } } ?>
Call Now
Available from Barons N1 City
Cnr Giel Basson and, Nathan Mallach St, N1 City, Cape Town, 7500, South Africa
Similar Listings

https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071311_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071311_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071311_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071311_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071311_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071311_8.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071311_9.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071311_10.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071311_11.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071311_12.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071311_13.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071311_14.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071311_15.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071311_16.jpg
VOLKSWAGEN
T-CROSS
(2020)
VOLKSWAGEN MY20 1.0 TSI HIGHLINE DSG
Array
(
[vehicleid] => Array
(
[0] => 28324162
)
[dumpdate] => Array
(
[0] => 2025-09-26T16:50:48.28
)
[mmcode] => Array
(
[0] => 64030190
)
[molstockbooknumber] => Array
(
[0] => MOL01433_U0071311
)
[stockbooknumber] => Array
(
[0] => U0071311
)
[vinnumber] => Array
(
[0] => WVGZZZC1ZLY137147
)
[regnumber] => Array
(
[0] => CF275157
)
[uploadtype] => Array
(
[0] => USED
)
[vehiclemake] => Array
(
[0] => VOLKSWAGEN
)
[vehiclerange] => Array
(
[0] => T-CROSS
)
[vehiclemodel] => Array
(
[0] => MY20 1.0 TSI HIGHLINE DSG
)
[vehicleyear] => Array
(
[0] => 2020
)
[bodytype] => Array
(
[0] => CROSSOVER
)
[transmissiontype] => Array
(
[0] => AUTOMATIC
)
[fueltype] => Array
(
[0] => UNLEADED
)
[colour] => Array
(
[0] => White
)
[numberofdoors] => Array
(
[0] => 5
)
[mileage] => Array
(
[0] => 90155
)
[servicehistory] => Array
(
[0] => Full
)
[comments] => Array
(
[0] => Extras
APP-CONNECT with Wireless Charging
LED headlamps
Park distance control in front and rear
Lights & Vision package
Front fog lamps
Trade ins welcome and nationwide delivery at an agreed cost. To avoid disappointment, kindly speak to one of our Certified Mastercar Sales Executives Carmen Ray, Mildred Frantz, Ashley Naicker, Kirsten Redelinghuys, Eric Adolph or Rynard Snyman for more info. Buy your next Volkswagen Mastercar with complete confidence.
)
[price] => Array
(
[0] => 319000
)
[dealershipid] => Array
(
[0] => 52
)
[molnumber] => Array
(
[0] => MOL01433
)
[dealershipname] => Array
(
[0] => Barons N1 City
)
[pictures] => Array
(
[0] => a:14:{i:0;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071311_1.jpg";i:1;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071311_2.jpg";i:2;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071311_3.jpg";i:3;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071311_6.jpg";i:4;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071311_7.jpg";i:5;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071311_8.jpg";i:6;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071311_9.jpg";i:7;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071311_10.jpg";i:8;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071311_11.jpg";i:9;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071311_12.jpg";i:10;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071311_13.jpg";i:11;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071311_14.jpg";i:12;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071311_15.jpg";i:13;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071311_16.jpg";}
)
[nmi_vehicle_id] => Array
(
[0] => WVGZZZC1ZLY137147
)
)
1
WVGZZZC1ZLY137147
WVGZZZC1ZLY137147
Colour: White
MOL01433
28324162
28324162
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_u0071440_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071440_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071440_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071440_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071440_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071440_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071440_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071440_8.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071440_9.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071440_10.jpg
VOLKSWAGEN
T-CROSS
(2023)
VOLKSWAGEN MY21 1.0 TSI COMFORTLINE
Array
(
[vehicleid] => Array
(
[0] => 28319497
)
[dumpdate] => Array
(
[0] => 2025-09-26T16:50:48.28
)
[mmcode] => Array
(
[0] => 64030160
)
[molstockbooknumber] => Array
(
[0] => MOL01433_U0071440
)
[stockbooknumber] => Array
(
[0] => U0071440
)
[vinnumber] => Array
(
[0] => WVGZZZC1ZPY035733
)
[regnumber] => Array
(
[0] => DH3SIRZN
)
[uploadtype] => Array
(
[0] => USED
)
[vehiclemake] => Array
(
[0] => VOLKSWAGEN
)
[vehiclerange] => Array
(
[0] => T-CROSS
)
[vehiclemodel] => Array
(
[0] => MY21 1.0 TSI COMFORTLINE
)
[vehicleyear] => Array
(
[0] => 2023
)
[bodytype] => Array
(
[0] => CROSSOVER
)
[transmissiontype] => Array
(
[0] => MANUAL
)
[fueltype] => Array
(
[0] => UNLEADED
)
[colour] => Array
(
[0] => Reef Blue
)
[numberofdoors] => Array
(
[0] => 5
)
[mileage] => Array
(
[0] => 55000
)
[servicehistory] => Array
(
[0] => Full
)
[comments] => Array
(
[0] => 70kW @ 5000 r/min | 130 CO2 Emissions | 5-speed manual | Fuel Consumption - 5.
5 l/100km (Combined) | ABS | Belmont Alloys | Mult-function display PLUS | Composition Media | Rest Assist | Light and Sight Vision | LED Daytime running Lights | We Connect Go | Climatic Aircon | Cruise Control | PDC Front and Rear | 3 year / 120 000 kms Warranty | 3 year / 45 000 kms Service Plan.
)
[price] => Array
(
[0] => 359000
)
[dealershipid] => Array
(
[0] => 52
)
[molnumber] => Array
(
[0] => MOL01433
)
[dealershipname] => Array
(
[0] => Barons N1 City
)
[pictures] => Array
(
[0] => a:10:{i:0;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071440_1.jpg";i:1;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071440_2.jpg";i:2;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071440_3.jpg";i:3;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071440_4.jpg";i:4;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071440_5.jpg";i:5;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071440_6.jpg";i:6;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071440_7.jpg";i:7;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071440_8.jpg";i:8;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071440_9.jpg";i:9;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071440_10.jpg";}
)
[nmi_vehicle_id] => Array
(
[0] => WVGZZZC1ZPY035733
)
)
1
WVGZZZC1ZPY035733
WVGZZZC1ZPY035733
Colour: Reef Blue
MOL01433
28319497
28319497
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_u0071439_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071439_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071439_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071439_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071439_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071439_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071439_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071439_8.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071439_9.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071439_10.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071439_11.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071439_12.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071439_13.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071439_14.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071439_15.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071439_16.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071439_17.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071439_18.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071439_19.jpg
VOLKSWAGEN
T-CROSS
(2023)
VOLKSWAGEN MY20 1.0 TSI COMFORTLINE DSG
Array
(
[vehicleid] => Array
(
[0] => 28324502
)
[dumpdate] => Array
(
[0] => 2025-09-26T16:53:39.127
)
[mmcode] => Array
(
[0] => 64030170
)
[molstockbooknumber] => Array
(
[0] => MOL01433_U0071439
)
[stockbooknumber] => Array
(
[0] => U0071439
)
[vinnumber] => Array
(
[0] => WVGZZZC1ZPY056429
)
[regnumber] => Array
(
[0] => KVX579NW
)
[uploadtype] => Array
(
[0] => USED
)
[vehiclemake] => Array
(
[0] => VOLKSWAGEN
)
[vehiclerange] => Array
(
[0] => T-CROSS
)
[vehiclemodel] => Array
(
[0] => MY20 1.0 TSI COMFORTLINE DSG
)
[vehicleyear] => Array
(
[0] => 2023
)
[bodytype] => Array
(
[0] => CROSSOVER
)
[transmissiontype] => Array
(
[0] => AUTOMATIC
)
[fueltype] => Array
(
[0] => UNLEADED
)
[colour] => Array
(
[0] => Grey
)
[numberofdoors] => Array
(
[0] => 5
)
[mileage] => Array
(
[0] => 33000
)
[servicehistory] => Array
(
[0] => Full
)
[comments] => Array
(
[0] => Extras include Connect package4 alloy wheels "Belmont" 6J x 16Black roof railsPark Distance Control Cruise control system and speed limiterApp-Connect.
Trade ins welcome and nationwide delivery at an agreed cost.
To avoid disappointment, kindly speak to one of our Certified Mastercar Sales Executives Carmen Ray, Mildred Frantz, Ashley Naicker, Kirsten Redelinghuys, Eric Adolph or Rynard Snyman for more info.
Buy your next Volkswagen Mastercar with complete confidence.
)
[price] => Array
(
[0] => 368999
)
[dealershipid] => Array
(
[0] => 52
)
[molnumber] => Array
(
[0] => MOL01433
)
[dealershipname] => Array
(
[0] => Barons N1 City
)
[pictures] => Array
(
[0] => a:19:{i:0;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071439_1.jpg";i:1;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071439_2.jpg";i:2;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071439_3.jpg";i:3;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071439_4.jpg";i:4;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071439_5.jpg";i:5;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071439_6.jpg";i:6;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071439_7.jpg";i:7;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071439_8.jpg";i:8;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071439_9.jpg";i:9;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071439_10.jpg";i:10;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071439_11.jpg";i:11;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071439_12.jpg";i:12;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071439_13.jpg";i:13;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071439_14.jpg";i:14;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071439_15.jpg";i:15;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071439_16.jpg";i:16;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071439_17.jpg";i:17;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071439_18.jpg";i:18;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071439_19.jpg";}
)
[nmi_vehicle_id] => Array
(
[0] => WVGZZZC1ZPY056429
)
)
1
WVGZZZC1ZPY056429
WVGZZZC1ZPY056429
Colour: Grey
MOL01433
28324502
28324502
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_u0071436_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071436_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071436_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071436_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071436_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071436_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071436_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071436_8.jpg
VOLKSWAGEN
T-CROSS
(2023)
VOLKSWAGEN MY20 1.0 TSI HIGHLINE DSG
Array
(
[vehicleid] => Array
(
[0] => 28319500
)
[dumpdate] => Array
(
[0] => 2025-09-26T16:54:06.797
)
[mmcode] => Array
(
[0] => 64030190
)
[molstockbooknumber] => Array
(
[0] => MOL01433_U0071436
)
[stockbooknumber] => Array
(
[0] => U0071436
)
[vinnumber] => Array
(
[0] => WVGZZZC1ZPY057709
)
[regnumber] => Array
(
[0] => CF315062
)
[uploadtype] => Array
(
[0] => USED
)
[vehiclemake] => Array
(
[0] => VOLKSWAGEN
)
[vehiclerange] => Array
(
[0] => T-CROSS
)
[vehiclemodel] => Array
(
[0] => MY20 1.0 TSI HIGHLINE DSG
)
[vehicleyear] => Array
(
[0] => 2023
)
[bodytype] => Array
(
[0] => CROSSOVER
)
[transmissiontype] => Array
(
[0] => AUTOMATIC
)
[fueltype] => Array
(
[0] => UNLEADED
)
[colour] => Array
(
[0] => Silver
)
[numberofdoors] => Array
(
[0] => 5
)
[mileage] => Array
(
[0] => 37190
)
[servicehistory] => Array
(
[0] => Full
)
[comments] => Array
(
[0] => Extras APP-CONNECT with Wireless Charging LED headlamps Park distance control in front and rearLights & Vision packageFront fog lampsTrade ins welcome and nationwide delivery at an agreed cost.
To avoid disappointment, kindly speak to one of our Certified Mastercar Sales Executives Carmen Ray, Mildred Frantz, Ashley Naicker, Kirsten Redelinghuys, Eric Adolph or Rynard Snyman for more info.
Buy your next Volkswagen Mastercar with complete confidence.
)
[price] => Array
(
[0] => 388999
)
[dealershipid] => Array
(
[0] => 52
)
[molnumber] => Array
(
[0] => MOL01433
)
[dealershipname] => Array
(
[0] => Barons N1 City
)
[pictures] => Array
(
[0] => a:8:{i:0;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071436_1.jpg";i:1;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071436_2.jpg";i:2;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071436_3.jpg";i:3;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071436_4.jpg";i:4;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071436_5.jpg";i:5;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071436_6.jpg";i:6;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071436_7.jpg";i:7;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071436_8.jpg";}
)
[nmi_vehicle_id] => Array
(
[0] => WVGZZZC1ZPY057709
)
)
1
WVGZZZC1ZPY057709
WVGZZZC1ZPY057709
Colour: Silver
MOL01433
28319500
28319500
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"); } } ?>