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〉的開發相關工作。

參與者

將〈Elegant Percentage Calculator〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

1.0

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