Elegant Percentage Calculator

描述

The Elegant Percentage Calculator is a lightweight WordPress plugin that allows you to embed a responsive percentage calculator on your website using a simple shortcode [percentage_calculator]. Users can calculate “What is X% of Y?” or “X is what % of Y?” with instant results displayed without page reloads. The calculator features a clean, modern, and customizable design.

Key features include:
Frontend Features: Simple percentage calculations with a responsive and elegant UI.
Shortcode Support: Use [percentage_calculator] to embed the calculator in posts, pages, or widgets.
Admin Settings: Customize the calculator title, button text, colors (background, button, text), and enable/disable border and shadow.
Instant Results: Calculations are performed instantly using JavaScript without page reloads.
WordPress Compatibility: Built with WordPress best practices, ensuring compatibility with the latest WordPress versions.

The plugin is perfect for educational websites, financial blogs, or any site needing a user-friendly percentage calculator.

License

This plugin is licensed under the GPLv2 or later. You are free to use, modify, and distribute it under the terms of the GNU General Public License.

安装

  1. Upload the elegant-percentage-calculator folder to the /wp-content/plugins/ directory.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.
  3. Go to Settings > Percentage Calculator to configure the plugin settings.
  4. Copy the [percentage_calculator] shortcode and paste it into any post, page, or widget where you want the calculator to appear.

常见问题

How do I add the calculator to my site?

Use the shortcode [percentage_calculator] in any post, page, or text widget. The shortcode is also displayed in the plugin’s settings page for easy copying.

Can I customize the calculator’s appearance?

Yes! In the Settings > Percentage Calculator admin page, you can customize the title, button text, background color, button color, text color, and enable/disable border and shadow effects.

Does the calculator work on mobile devices?

Absolutely! The calculator is fully responsive and works seamlessly on all devices.

Is JavaScript required for the plugin?

Yes, the plugin uses JavaScript for instant calculations without page reloads. Ensure JavaScript is enabled in your browser.

评价

此插件暂无评价。

贡献者及开发者

「Elegant Percentage Calculator」是开源软件。 以下人员对此插件做出了贡献。

贡献者

更新日志

1.0

  • Initial release with percentage calculator, shortcode support, and customizable settings.