=== CalculatorLand ===
Contributors: calculatorland.ru
Tags: calculator, shortcode, tools, finance, converter
Requires at least: 5.5
Tested up to: 6.8
Requires PHP: 7.4
Stable tag: 1.1.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Embed professional, interactive calculators on your website with a simple shortcode.

== Description ==

**CalculatorLand** is an easy way to add interactive calculators to your WordPress site. Just embed any tool from calculatorland.ru using a shortcode.

✔ Mortgage and loan calculators
✔ Currency converters
✔ Construction and renovation calculators
✔ Business and financial calculations
✔ And many other tools!

🌟 **Key Features:**
→ Embed with a 1-click shortcode
→ Fully responsive design for all devices
→ Lazy loading to speed up your site
→ Adjustable scale (25%-200%)
→ 3 loading indicator styles
→ Caching for maximum performance

Perfect for:
• Financial websites
• Construction companies
• Educational projects
• Blogs with useful tools

== Installation ==

1. Install the plugin through the 'Plugins → Add New' screen in WordPress.
2. Activate the plugin through the 'Plugins' menu in WordPress.
3. Navigate to the 'Calculators' menu in your admin panel.
4. Choose a calculator you like and copy its shortcode.
5. Paste the shortcode into a post, page, or widget.

== Usage ==

**Basic Shortcode:**
`[calculatorland name="ипотека"]`

**With Parameters:**
`[calculatorland name="кредитный" scale="80" lazy="true" loader="pulse"]`

🔹 **Available Parameters:**
* `name` - The calculator's name (slug) (required).
* `scale` - Scale from 50 to 200 (default: 100).
* `lazy` - Enable or disable lazy loading (true/false, default: true).
* `loader` - Loader style (spinner/pulse/progress, default: spinner).

== Frequently Asked Questions ==

= Where can I find the list of available calculators? =
The full list of calculators is displayed in your WordPress admin panel in the "Calculators" menu after plugin activation.

= How do I clear the calculator cache? =
Use the "Clear Cache" button in the plugin's settings page in your admin panel.

= The calculator is not loading. What should I do? =
1. Double-check the calculator name (slug) in the shortcode.
2. Ensure your website can connect to `calculatorland.ru`.
3. Try disabling lazy loading by adding `lazy="false"` to the shortcode.

== Changelog ==

= 1.1.0 =
* Fixed admin preview for all calculators by using a sandboxed iframe.
* Added full localization support (i18n) for Russian and English.
* Fixed a bug where tooltips in the admin panel were not showing.
* Improved security and adherence to WordPress coding standards.

= 1.0.0 =
* Initial release.

== Support ==

Need help or want to suggest a new calculator? Contact us: https://calculatorland.ru/informery-sayta-na-zakaz/

----------------------------------------------------------------------------------------------------------------------
=== Мир калькуляторов ===

Профессиональные калькуляторы для вашего сайта! Легко встраивайте любые инструменты с calculatorland.ru через шорткоды.

== Description ==

**Мир калькуляторов** — это простой способ добавить на ваш WordPress-сайт интерактивные калькуляторы: 
✔ Ипотечные и кредитные  
✔ Валютные конвертеры  
✔ Строительные и ремонтные  
✔ Бизнес-расчёты  
✔ И другие калькуляторы!

🌟 **Ключевые особенности:**  
→ Вставка в 1 клик через шорткоды  
→ Адаптивный дизайн под все устройства  
→ Ленивая загрузка для ускорения сайта  
→ Настройка масштаба (25%-200%)  
→ 3 стиля индикатора загрузки  
→ Кэширование для максимальной скорости  

Идеально подходит для:  
• Финансовых сайтов  
• Строительных компаний  
• Образовательных проектов  
• Блогов с полезными инструментами  

== Установка ==

1. Установите плагин через «Плагины → Добавить новый» в WordPress.
2. Активируйте плагин.
3. Перейдите в «Калькуляторы» в меню админки.
4. Выберите нужный калькулятор и скопируйте шорткод.
5. Вставьте шорткод в запись, страницу или виджет.

== Использование ==

**Базовый шорткод:**  
`[calculatorland name="ипотека"]`

**С параметрами:**  
`[calculatorland name="кредитный" scale="80" lazy="true" loader="pulse"]`

🔹 **Доступные параметры:**  
• `name` - название калькулятора (обязательно)  
• `scale` - масштаб (50-200%, по умолчанию 100)  
• `lazy` - ленивая загрузка (true/false)  
• `loader` - стиль загрузки (spinner/pulse/progress)  

== Частые вопросы ==

= Где взять список доступных калькуляторов? =
Все калькуляторы отображаются в админке WordPress после установки плагина.

= Как обновить кэш калькулятора? =
Используйте кнопку «Очистить кэш» в настройках плагина.

= Калькулятор не загружается. Что делать? =
1. Проверьте название калькулятора  
2. Убедитесь, что ваш сайт может подключиться к calculatorland.ru  
3. Попробуйте отключить ленивую загрузку (`lazy="false"`)


== Changelog ==

= 1.0.0 = (2024-06-15)
* Первый релиз плагина

== Дополнительно ==

Нужна помощь или хотите предложить новый калькулятор?  
Напишите нам: https://calculatorland.ru/informery-sayta-na-zakaz/

