=== EH Mortgage Calculator – Loan & Amortization Calculator ===
Contributors: edgarr41
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=NAJ7GSMS87NEE
Tags: mortgage calculator, loan calculator, amortization, finance, real estate
Requires at least: 5.0
Tested up to: 6.9
Stable tag: 3.1.1
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

A modern mortgage and loan calculator with a clean amortization schedule, monthly payment breakdown, shortcode, and Gutenberg block.

== Description ==

**EH Mortgage Calculator** is a lightweight, responsive, and user‑friendly mortgage and loan calculator for WordPress.  
It helps visitors calculate monthly mortgage payments and view a full amortization schedule with principal and interest breakdowns.

This plugin is ideal for **real estate websites, mortgage brokers, lenders, financial blogs, and home loan professionals** who need a clean, accurate, and fast mortgage calculator.

Version **3.1.1** continues the modernization introduced in 3.0, delivering UI refinements, improved accessibility, better translation support, and a polished experience across both the shortcode and Gutenberg block.

### 🔹 Key Features

- Accurate mortgage and loan payment calculation  
- Full amortization schedule with year‑by‑year pagination  
- Monthly payment breakdown (principal + interest)  
- Shortcode support: `[eh_mortgage_calculator]`  
- Native Gutenberg block (WordPress 5.0+)  
- Modern JavaScript architecture (no globals, no inline JS)  
- Clean, responsive UI with a custom Bootstrap build  
- Translation‑ready (includes Spanish)  
- Improved accessibility and keyboard navigation  
- Lightweight and optimized for performance  

Perfect for:

- Real estate agents  
- Mortgage brokers  
- Loan officers  
- Financial advisors  
- Home loan and mortgage blogs  
- Property listing websites  

== Installation ==

1. Upload the `eh-mortgage-calculator` folder to `/wp-content/plugins/`.
2. Activate the plugin through the **Plugins** menu.
3. Add the calculator to any page or post using the shortcode:

   `[eh_mortgage_calculator]`

4. Or insert the **EH Mortgage Calculator Block** in the block editor.

== Frequently Asked Questions ==

= Can I customize the calculator settings? =

Yes. Version 3.1.1 includes a full settings page where you can customize:

* Default loan amount, interest rate, and term  
* Field labels and button text  
* Primary color, button colors, and table header color  
* Border radius and UI styling  
* Display options for the summary box, amortization table, and chart  

All settings apply instantly to both the shortcode and the Gutenberg block.

= Is the plugin translation‑ready? =

Yes. The plugin is fully internationalized and includes a Spanish translation.  
Version 3.1.1 improves translation support for JavaScript‑based labels.

= Does it work with block themes? =

Yes. The Gutenberg block works with all block themes and classic themes.

== Screenshots ==

1. Mortgage calculator form  
2. Amortization schedule output  
3. Pagination controls
4. Admin page

== Changelog ==

= 3.1.1 =
* Updated plugin branding and SEO‑optimized readme.txt for improved WordPress.org search visibility
* Enhanced keyword coverage for mortgage, loan calculator, and amortization‑related searches
* Refined plugin title and tags for better discoverability
* No functional changes to the calculator or UI

= 3.1.0 =
* Improved pagination styling with dynamic primary color support  
* Updated Bootstrap‑based UI for cleaner, more consistent styling  
* Added translation support for JavaScript chart labels  
* Improved shortcode tab UI in the admin panel  
* Removed remaining inline JavaScript for full CSP compatibility  
* Enhanced accessibility and keyboard navigation  
* Minor bug fixes and performance improvements  

= 3.0 =
* Major modernization of the entire plugin  
* Added a fully functional Gutenberg block with dynamic rendering  
* Rebuilt JavaScript using modern standards (no globals, no inline scripts)  
* Improved mortgage calculation logic and edge‑case handling  
* Redesigned UI with a slimmer, custom Bootstrap build  
* Refactored plugin into a class‑based architecture  
* Improved shortcode output and front‑end rendering  
* Enhanced pagination for amortization tables  
* Updated internationalization and text domain consistency  
* Cleaned up file structure and removed legacy code  
* Removed legacy widget support  

= 2.0 =
Added widget support.

= 1.1 =
Updated text domain to match plugin slug.

= 1.0 =
Initial release.

== Upgrade Notice ==

= 3.1.1 =
This update improves plugin discoverability by updating the readme.txt branding, title, and SEO metadata. No functional changes were made.

= 3.1.0 =
This update includes UI improvements, better translation support, and refinements to the shortcode and block output.  
If you customized styles, review your site after updating.

= 3.0 =
This is a major update with a new Gutenberg block, modernized codebase, improved UI, and enhanced performance.  
If you customized templates or styles, review your site after updating.
