ImmoWP Diagnostic DPE GES source code

By ImmoWP, on WordPress.org since 2026. 40+ active installs.

Browse code Download zip

ImmoWP Diagnostic DPE GES displays the French energy performance (DPE) and greenhouse gas emission (GES) labels on your real estate listings, through a configurable shortcode. Below is its source code for every one of its 9 releases, what changed in the latest one, and how often it ships.

What changed in 1.6.2

Released Sep 5, 2026, 3 days after 1.6.1
  • WordPress.org listing completed: screenshots, banner, translation catalogue (languages/immowp-diagnostic-dpe-ges.pot), links to the ImmoWP documentation and to the ImmoWP Gestion Immobilière plugin. The readme is now written in English, with a French translation available on translate.wordpress.org.
  • Compatibility note for the DPE reform of 1 January 2027 (electricity coefficient 1.7): no threshold change, the official label is still rendered as it is.
  • Plugins screen: “Settings” and “ImmoWP website” links on the plugin row; “Go further with ImmoWP” box at the bottom of the settings page.
  • Bottom legend of the energy chart escaped at output (Plugin Check). Compatibility verified with WordPress 7.1. No change to the engine or to the display of the diagnostics.

8 files changed since 1.6.1: 7 modified, 1 added, 0 removed.

Compare 1.6.1 with 1.6.2

Release history

9 releases since April 2026
  1. 1.6.2 Sep 5, 2026 WordPress.org listing completed: screenshots, banner, translation catalogue (languages/immowp-diagnostic-dpe-ges.pot), links to the ImmoWP documentation and to the ImmoWP Gestion Immobilière plugin. The readme is now written in English, with a French translation available on translate.wordpress.org.
  2. 1.6.1 Sep 2, 2026 Fix: a yearly energy cost entered with a thousands separator (“1.200”) was read as €1.2 per year. Thousands separators are now removed before conversion, whatever the entered format.
  3. 1.6.0 Aug 7, 2026 Fix: the label of the official diagnostic (dpe_lettre / ges_lettre) is never overwritten by the recalculation any more. It was ignored as soon as a numeric value existed, which made the display diverge from the assessor’s document (a displayed consumption of 110 with a real CEP of 109.6 switched from B to C). The mandatory notice of classes F and G is still computed on the worse of the two scales: an energy label inconsistent with the climate class cannot make it disappear.
  4. 1.5.1 Aug 5, 2026 Fix: on a site whose settings had been saved before 1.5.0, the label meta keys did not exist in the options and the letters were never read. The dpe and ges metas are now read by default, without having to save the settings page again.
  5. 1.5.0 Aug 5, 2026 New dpe_lettre and ges_lettre attributes (meta keys dpe_lettre_key / ges_lettre_key, dpe and ges by default) for feeds that only transmit the label of the diagnostic.
Full ImmoWP Diagnostic DPE GES changelog with diffs

Source of 1.6.2

13 files
Browse all ImmoWP Diagnostic DPE GES 1.6.2 files Browse trunk