Kalkulator dodatku mieszkaniowego
Kalkulator dodatku mieszkaniowego
Description
This plugin provides a calculator that estimates the Polish housing allowance. Add the [dmwk_dodatek_mieszkaniowy] shortcode to a page and configure the reference values under Settings > Dodatek mieszkaniowy.
Numeric fields can use a large on-screen keypad designed for touch terminals. An administrator can enable or disable it under Settings > Dodatek mieszkaniowy. Integer and decimal fields use the appropriate keypad layout while standard physical-keyboard input remains available.
The calculator takes into account:
- the normative floor area based on household size,
- the increased floor-area allowance related to disability,
- the permitted excess over the normative floor area,
- the income criterion and excess income,
- expenses attributable to the normative floor area,
- lump-sum amounts for the lack of central heating, hot water, and piped gas,
- the household’s own contribution,
- the statutory allowance limit, adjustable by a municipal council within the 50-90% range,
- the minimum allowance amount,
- the division of payment between the property manager and the applicant.
Privacy
Values entered by a visitor are not sent to WordPress or any external service. JavaScript performs all calculations in the visitor’s browser. The plugin does not set cookies, register REST API routes, or register AJAX actions.
Only settings entered by an administrator are stored on the server. The plugin does not automatically connect to any external service.
Important disclaimer
The result is informational and does not constitute an administrative decision or legal advice. The competent authority determines eligibility and the final allowance amount from the submitted application and supporting documents. Administrators should verify the reference data after changes in law, new publications from Statistics Poland or the Polish Energy Regulatory Office, and changes to municipal council resolutions.
Primary sources:
- Polish Housing Allowances Act
- Average wage announcements – Statistics Poland
- Average household electricity price – Polish Energy Regulatory Office
Shortcode
Basic usage:
[dmwk_dodatek_mieszkaniowy]
Available attributes:
tytul– heading displayed above the form; an empty value hides it.daty–tak(default) ornie;niehides the date fields and uses the site’s current date.ile_osob– initial number of household members.rodo–niehides the data-processing notice for that shortcode instance.
Example:
[dmwk_dodatek_mieszkaniowy tytul="Sprawdź orientacyjną kwotę" daty="nie"]
Installation
- Install the plugin from the ZIP file or copy its directory to
/wp-content/plugins/. - Activate the plugin.
- Go to Settings > Dodatek mieszkaniowy and verify the reference data.
- Add the
[dmwk_dodatek_mieszkaniowy]shortcode to a page.
Faq
No. The result is only an estimate. The competent authority determines eligibility and the allowance amount in an administrative decision.
No. The data remains in the visitor’s browser and is not sent to the server. The plugin stores only configuration entered by an administrator.
No. The lack of automatic external connections reduces data sharing and external dependencies, but the administrator must update values after new official announcements or changes to municipal council resolutions.
Yes. Every calculation runs locally and does not require a nonce or an additional HTTP request.
Non-negative numbers with up to four decimal places are accepted. A decimal comma and spaces as thousands separators may be used, for example 3 200,50.
Reviews
Changelog
2.5.1
- Sanitized submitted settings before validating and saving them.
- Escaped the formatted privacy notice at output time.
- Added the unique
dmwk_prefix to the shortcode name.
2.5.0
- Added an administrator setting for enabling or disabling the on-screen keypad.
- Restored the device’s standard numeric or decimal keyboard when the on-screen keypad is disabled.
2.4.0
- Added a large on-screen numeric keypad for touch terminals.
- Added separate integer and decimal input modes with clear, backspace, and confirm controls.
2.3.0
- Prepared plugin metadata and documentation for the WordPress.org directory.
- Updated compatibility declaration for WordPress 7.0.
- Changed global class, function, constant, and option prefixes to the unique
dmwkprefix and added migration from local versions. - Corrected the effective date of the revised calculation rules to July 1, 2021.
- Set the statutory base allowance limit to 70% and the municipal adjustment range to 50-90%.
- Updated the default electricity price using official 2026 information and included VAT.
- Added strict validation of integers and dates and protected settings tables from saving an empty data set.
- Removed calls to external plugin registration services.
- Added plugin data removal during uninstallation.
2.2.0
- Added author information and a help link.
- Expanded validation of settings and calculator data.
- Moved all calculations to the visitor’s browser.