Multi Calculator
A premium, mobile-first calculator suite (Basic, Scientific, Percentage, BMI, Loan/EMI, Age, Unit Converter.
by Minhajul Khan · github.com/mktapphub/multi-calc-wordpress-plugin
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/mktapphub/multi-calc-wordpress-plugin/archive/refs/heads/main.zipReadme
=== Multi Calculator=== Contributors: Minhajul Khan Requires at least: 5.8 Tested up to: 6.6 Requires PHP: 7.4 Stable tag: 1.0.0 License: License URI:
A premium, mobile-first calculator suite for WordPress. Basic, Scientific, Percentage, BMI, Loan/EMI, Age, and Unit Converter — all in one.
== Description ==
Multi Calculator Pro drops a polished, app-like calculator widget anywhere on your site via a simple shortcode:
[multi_calculator]
Included tools
- Basic calculator (with live-preview result as you type)
- Scientific calculator (trig, log, ln, sqrt, powers, constants)
- Percentage calculator
- BMI calculator
- Loan / EMI calculator
- Age calculator
- Unit converter (length, weight, temperature)
Why it's different
- No external API calls, ever. Every calculation runs entirely in the visitor's browser using a hand-written, dependency-free math engine. Nothing is sent to any server — not even yours.
- No eval() / no Function() / no code execution. Expressions are tokenized and parsed by hand, so there is no code-execution surface for malicious input to exploit.
- Security-first WordPress integration. Settings use the WordPress Settings API (nonces + capability checks handled for you), every output is escaped, all shortcode attributes are validated against strict allow-lists, and assets only load on pages that actually use the shortcode.
- Premium UI. Rounded cards, soft shadows, smooth tab transitions, and a subtle "pop" animation on results — mobile-first and fully responsive, with automatic dark-mode support and a reduced-motion fallback for accessibility.
- Fast. No jQuery dependency, no build step, no external fonts or CDNs. Two small vanilla-JS files and one CSS file.
Shortcode options
[multi_calculator]
tools="basic,bmi,loan" default="bmi"]`
title— heading text shown above the tabs.tools— comma-separated list of tools to show: basic, scientific, percentage, bmi, loan, age, unit.default— which tool tab is active on load.
Admin settings
Under Settings → Calculator Pro you can:
- Pick an accent color
- Enable/disable individual tools site-wide
- Choose the default tool
- Toggle rounded corners and animations
== Installation ==
- Upload the
multi-calc-profolder to/wp-content/plugins/. - Activate the plugin through the "Plugins" menu in WordPress.
- Add
[multi_calculator]to any page, post, or widget. - Optionally visit Settings → Calculator Pro to customize colors and enabled tools.
== Frequently Asked Questions ==
= Does this plugin send any data to an external server? =
No. All calculations happen client-side in the visitor's browser. The plugin makes no REST API calls, no admin-ajax.php calls, and no third-party network requests of any kind.
= Can I show more than one calculator on the same page? =
Yes — each shortcode instance is fully independent and gets its own unique ID.
= Is it accessible? =
Tabs use proper ARIA roles (role="tablist", role="tab", role="tabpanel", aria-selected), and all animations respect prefers-reduced-motion.
== Changelog ==
= 1.0.0 =
- Initial release.