=== RelaImmo Connect ===
Contributors: relaimmo
Tags: real estate, listings, houzez, realhomes, sync
Requires at least: 6.4
Tested up to: 7.1
Requires PHP: 8.0
Stable tag: 1.0.3
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Publishes your agency's listings from Relaimmo on your WordPress site, in real time.

== Description ==

RelaImmo Connect keeps the listings of your real-estate theme in step with Relaimmo, your agency's CRM. Paste one key: your listings appear on the site, update within seconds when you change them in Relaimmo, and leave the site when you withdraw them.

* Works with the Houzez and RealHomes themes (child themes included). On any other theme, nothing is written and the settings screen says so.
* Reads from Relaimmo; Relaimmo never logs into your site and no WordPress password is ever sent or stored.
* Never rewrites a listing's slug, its SEO fields, its "featured" flag, or a featured image you chose by hand.
* No address and no map pin unless the location is marked exact in Relaimmo.
* Photos are downloaded once, identified by their content; a reordered gallery downloads nothing.
* A readable journal of every sync, and a « Check now » button.
* English and French.

== Installation ==

1. Plugins → Add New → Upload Plugin: choose relaimmo-connect.zip, then Install and Activate.
2. In Relaimmo, open Publishing → My website → Connect my WordPress site, and copy the key.
3. In WordPress, open Settings → RelaImmo, paste the key and click Connect.

== Frequently Asked Questions ==

= My theme is not supported. =

Nothing is written to the site. The settings screen lists the supported themes.

= What happens when I uninstall the plugin? =

The key, the settings and the journal are removed. Your listings stay on the site unless you ticked « Also delete the listings and photos this plugin created ».

= Does it need WP-Cron? =

Relaimmo notifies the site of every change, so listings arrive within seconds. The scheduled sync (every 15 minutes by default) is the safety net; if your host disables WP-Cron, have a system cron call wp-cron.php.

== Changelog ==

= 1.0.3 =
* The report sent to Relaimmo after each sync gives the public address of every listing it met, so agents can share it.
* After the update, the next scheduled sync reads the whole catalogue once, so the address of every listing reaches Relaimmo.

= 1.0.2 =
* Houzez: keeps the site's square-metre unit, parent types, land natures and place names.

= 1.0.0 =
* First version: connection by key, signed notifications, scheduled and daily syncs, photos by fingerprint, withdrawal modes, journal, English and French.
