=== Importer for VWE ===
Contributors: dlkonline
Tags: vwe, eigenwebsite, wheelerdelta, autos, autotelex
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 7.4
Stable tag: 1.0.5.1
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Receive vehicle information from VWE (via eigenwebsite.dv.nl) via a REST endpoint and automatically create Custom Posts. Also works for Wheelerdelta, Autotelex etc.

== Description ==
Importer for VWE receives vehicle information via a REST endpoint and automatically creates
Custom Posts (used vehicles).
An admin settings page allows you to set the CPT name, and a meta box displays all
important vehicle data in the WordPress backend.

Works with multiple Occasion software which make use of eigenwebsite.dv.nl:
- VWE
- Wheelerdelta
- Autotelex
- and many more...

== Installation ==
1. Upload the `importer-for-vwe` folder to `/wp-content/plugins/`.
2. Activate the plugin via the WordPress Plugins menu.
3. Go to Importer for VWE → Settings to set the CPT name.
4. REST endpoint: POST to `https://www.yourdomain.com/wp-json/vwe/v1/import/` with XML data.

== Screenshots ==

1. Instellingen
2. Voorbeeld van geimporteerde occasion

== Changelog ==
= 1.0.5.1 = 
* Added verkocht field

= 1.0.5 = 
* Added shortcode to show gallery
* Added meta field for images (comma separated)

= 1.0.4.2 = 
* Update icon

= 1.0.4.1 = 
* Update readme.txt

= 1.0.4 = 
* Meer velden toegevoegd (BTW/Marge, Basisinterieurkleur, Interieurkleur, Aantal zitplaatsen, Bekleding)

= 1.0.3 = 
* Meer velden toegevoegd

= 1.0.2 =
* Voertuigsoort taxonomie toegevoegd

= 1.0.1 =
* Foto's tonen bij CPT gefixt

= 1.0.0 =
* Eerste release: REST endpoint en CPT aanmaken
* Dynamische CPT-naam instelbaar in settings
* Meta box toegevoegd aan occasions CPT
* REST callback, helper functies en meta box in aparte file gezet
* CPT migratie bij slug-wijziging toegevoegd
* Meta box toont alle belangrijke voertuiggegevens

== Frequently Asked Questions ==
Q: How do I set the CPT name?
A: Go to Importer for VWE → Settings and enter the desired slug. Existing posts will be automatically migrated if you change them.

Q: Where can I find the vehicle metadata?
A: Open a created post in the backend; the meta box on the right or bottom shows all the details.
