外掛標籤
開發者團隊
原文外掛簡介
Connect for Mobilox syncs your vehicle inventory from the Mobilox/Hexon dealer management system to your WordPress site. Vehicles are stored as a configurable post type with full data available to your theme.
Features:
Real-time sync — vehicles are added, updated, and removed automatically via the DV incremental XML feed.
Configurable post type — sync to the built-in “Vehicle” post type or any existing custom post type in your theme.
Full data storage — every field Mobilox sends is stored in a custom table as JSON, accessible via template helpers.
Image management — diff-based: only new images are downloaded, unchanged images keep their attachment IDs, removed images are cleaned up.
Endpoint security — protect your sync endpoint with a secret token or HTTP Basic Auth.
Status dashboard — see synced vehicle count, errors, last sync time, and a full activity log.
Read-only meta box — view all vehicle data grouped by category on the post editor.
For theme developers:
Access vehicle data in your templates:
$vehicle = mobilox_get_vehicle();
echo $vehicle->{'general.make.name'};
echo $vehicle->{'powertrain.engine.power.pk'} . ' pk';
Or field by field:
echo mobilox_get_field( 'body.colour.name_nl' );
