=== BâtiClasse DPE GES ===
Contributors: overgrund
Tags: dpe, ges, immobilier, diagnostic, energie
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 7.4
Stable tag: 0.4.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Display French DPE and GES energy labels in WordPress with a Gutenberg block or shortcode.

== Description ==

BâtiClasse DPE GES is a WordPress plugin dedicated to displaying French DPE and GES energy labels.

It is mainly intended for the French real estate and energy performance context, including:

* property websites
* web agencies building real estate websites
* property detail pages
* editorial content related to building energy performance

The plugin provides two integration methods:

* a dedicated Gutenberg block
* a `[dpe_ges_manager]` shortcode

The free plugin includes:

* vertical DPE/GES display
* standard DPE/GES calculation from the provided values
* support for small properties with a reference surface of 40 m2 or less
* support for altitude from 800 m and climate zones H1b, H1c, and H2d
* manual mode with classes A to G
* `DPE vierge` and `Non soumis` cases
* the `outer_background` option to remove the outer shell
* built-in default thresholds

The output is informational only. It does not replace an official energy performance diagnosis performed by a certified professional, an ADEME document, or any official regulatory document.

== Installation ==

1. Upload the plugin folder to the `/wp-content/plugins/` directory.
2. Activate the plugin through the `Plugins` menu in WordPress.
3. Insert the `BâtiClasse DPE GES` block in the Gutenberg editor or use the `[dpe_ges_manager]` shortcode.
4. Enter your DPE and GES values, then optionally set the surface, altitude, climate zone, or manual mode.

== FAQ ==

= Does the plugin replace an official diagnosis? =

No. The plugin displays DPE/GES information for informational purposes only and does not replace an official diagnosis performed by a certified professional.

= Can I use a shortcode? =

Yes. The main shortcode is `[dpe_ges_manager]`.

= Can I use the Gutenberg block? =

Yes. The plugin provides a dedicated Gutenberg block to enter and display DPE/GES information directly in the editor.

= Is the plugin intended for the French market? =

Yes. The plugin is primarily intended for the French DPE/GES context and label display.

= Are the thresholds editable in the free plugin? =

No. The free plugin uses the built-in default thresholds.

= Does the plugin work with Elementor? =

Yes, if you use the shortcode inside a widget or module that supports shortcodes. The shortcode can also be used in any editor that accepts shortcodes.

== Screenshots ==

1. Vertical DPE/GES display on a WordPress page.
2. BâtiClasse DPE GES block preview in the Gutenberg editor.
3. DPE and GES value settings in the block sidebar.
4. Property context settings: surface, altitude, and climate zone.
5. Block display options: DPE/GES panels, outer background, and title.
6. Special cases: property not subject to DPE or blank DPE.
7. Administration screen with technical information and shortcode examples.

== Changelog ==

= 0.4.0 =

* Renamed the public plugin to BâtiClasse DPE GES.
* Updated the public text domain to `baticlasse-dpe-ges`.
* Removed dormant premium ruleset administration from the free plugin.
* Removed non-free layout code from the free plugin.
* Kept the vertical layout, shortcode, block, and calculation engine for the free plugin.

= 0.3.0 =

* Prepared the free version for WordPress.org.
* Kept built-in default thresholds.
* Improved the readme and admin texts.
* Maintained shortcode and Gutenberg block compatibility.

= 0.2.0 =

* Intermediate plugin updates before preparing the WordPress.org version.
* Consolidated shortcode and Gutenberg block support.
* Evolved the DPE/GES calculation engine.

= 0.1.0 =

* Initial plugin foundation.
* Added the `[dpe_ges_manager]` shortcode.
* Added a dynamic Gutenberg block with PHP rendering.
* Added standard DPE/GES calculation.
* Added support for small properties.
* Added support for altitude from 800 m and climate zones H1b, H1c, and H2d.
