=== FX Currency Converter === Contributors: falselight Tags: currency converter, currency conversion, currency exchange, exchange rates, currencies Donate link: https://currencyconvert.online/ Requires at least: 5.6 Requires PHP: 7.4 Tested up to: 7.1 Stable tag: 0.3.2 License: GPLv3 License URI: https://www.gnu.org/licenses/gpl-3.0.html Easy-to-use, free currency converter. ๐Ÿ”‘ No API key needed. โค๏ธ Install and enjoy. == ๐Ÿ“Œ About == Unlock real-time currency conversion on your WordPress site. Enjoy hourly cached updates from 86 public data providers with no API key required. [DEMO๐Ÿ‘€](https://yuri.ws/wordpress-plugins/fx-currency-converter/) = โญ๏ธ FEATURES โญ๏ธ = * ๐Ÿš€ Lightweight code; * ๐ŸŒ Exchange rates from 86 public data providers; * ๐Ÿงฑ Gutenberg block, shortcode, and PHP helper support; * ๐ŸŽจ Flexible styling options; * ๐Ÿ’ฏ Free, No Ads; * ๐Ÿ”‘ No API key needed; * ๐Ÿ”’ SSL support; * ๐Ÿ“ฑ Mobile-friendly; * ๐Ÿ” SEO-friendly. == ๐Ÿ—œ Shortcode ๐Ÿ—œ == The shortcode of `[fxcc_convert]` has the following parameters that you may specify... * **num** - The amount you wish to convert from one currency to another. * **from** - The currency [ISO code](https://currencyrate.today/different-currencies) you wish to convert from. The default is USD. * **to** - The currency [ISO code](https://currencyrate.today/different-currencies) you wish to convert to. The default is EUR. * **dec** - Specifies the number of decimal places in the output. This should be numeric or the word "match". The default is "match", which means that the output will match the number of decimal places that the **num** had. * **prefix** - emoji | symbol; * **suffix** - emoji | symbol; * **attribution** - 1 | true | yes | on; wraps the result in a link to `https://{from}.currencyrate.today/{to}`. * **tmpl** - Text template with the `%result%` placeholder. == ๐Ÿ’ก Examples ๐Ÿ’ก == ` [fxcc_convert num="100" from="USD" to="EUR" /] - 92 [fxcc_convert num="49.123" dec="2" from="USD" to="EUR" /] - 45,22 [fxcc_convert num="49.123" dec="2" from="USD" to="EUR" prefix="symbol" suffix="emoji" /] - โ‚ฌ45,22๐Ÿ‡ช๐Ÿ‡บ [fxcc_convert num="100" from="USD" to="EUR" attribution="1" /] - clickable result linked to CurrencyRate.today [fxcc_convert num="49.99" from="USD" to="EUR" prefix="symbol" tmpl="49.99 USD is %result% EUR" /] - 49.99 USD is โ‚ฌ46,02 EUR [fxcc_convert num="49.99" from="USD" to="EUR" tmpl="49.99 USD is %result% EUR" src="eu-ecb" /] - 49.99 USD is 45,83 EUR [fxcc_convert num="100" from="USD" dec="4" to="EUR"]100 USD is %result% EUR[/fxcc_convert] - 100 USD is 92,0641 EUR ` PHP helper examples: ` 100, 'from' => 'USD', 'to' => 'EUR')); ?> - 92 100, 'from' => 'USD', 'to' => 'EUR', 'attribution' => true)); ?> - clickable result linked to CurrencyRate.today 49.99, 'from' => 'USD', 'to' => 'EUR', 'prefix' => 'symbol', 'tmpl' => '49.99 USD is %result% EUR')); ?> - 49.99 USD is โ‚ฌ46,02 EUR ` == ๐Ÿ’ฑ API and Data sources ๐Ÿ’ฑ == We collect data from multiple public sources and cache it on our server, [https://api-bank.fex.to/](https://api-bank.fex.to/). Before you start using the plugin, please read the disclaimer. The plugin refreshes cached data at most once per hour, and the public API does not require keys or passwords. See the FAQ section below for the full list of 86 data providers. == โš ๏ธ Disclaimer โš ๏ธ == **Disclaimer for the https://api-bank.fex.to/ API** ๐Ÿšซ 1. **Use at Your Own Risk** โš ๏ธ: The use of this API is at your own discretion and risk. We do not accept any responsibility for any losses, damages, or issues arising from the use of this API. 2. **Data Accuracy** ๐Ÿ“Š: We make every effort to ensure the accuracy and timeliness of the data provided through our API. However, we do not guarantee the completeness, accuracy, or timeliness of this data and do not accept responsibility for any errors or omissions. 3. **Changes and Termination of Service** ๐Ÿ”„: We reserve the right to make changes to or terminate the operation of this API at any time, without prior notice. We are not liable for any consequences resulting from such changes or termination. 4. **Third-Party Services** ๐ŸŒ: This API may interact with third-party services or APIs. We do not endorse or take responsibility for the functionality, accuracy, or availability of these third-party services. 5. **No Warranty** ๐Ÿ›ก๏ธ: We provide this API on an "as is" and "as available" basis, without any warranties, express or implied. We disclaim all warranties, including but not limited to the implied warranties of merchantability, fitness for a particular purpose, and non-infringement. By using this API, you agree to accept and abide by the terms of this disclaimer. If you do not agree with any part of this disclaimer, you must not use this API. == Installation == = From your WordPress dashboard = 1. Visit "Plugins > Add New" 2. Search for "FX Currency Converter" 3. Activate "FX Currency Converter" from your Plugins page. 4. Insert the FX Currency Converter block in the editor or place the `[fxcc_convert]` shortcode in your content. = From WordPress.org = 1. Download "FX Currency Converter". 2. Upload the "FX Currency Converter" directory to your "/wp-content/plugins/" directory, using your favorite method (ftp, sftp, scp, etc...). 3. Activate "FX Currency Converter" from your Plugins page. 4. Insert the FX Currency Converter block in the editor or place the `[fxcc_convert]` shortcode in your content. == Frequently Asked Questions == = How to display currency conversion in a theme or PHP code? = Use the direct helper in PHP templates: ` 100, 'from' => 'USD', 'to' => 'EUR')); ?>` The admin generator can also switch from shortcode mode to a ready-to-paste `fxcc_convert()` PHP snippet. The admin generator includes the attribution link attribute by default, and new Gutenberg converter blocks start with attribution enabled in the block sidebar. You can also keep using the shortcode form: `` = Which API and data sources does the plugin use? = The plugin retrieves cached exchange-rate data from [https://api-bank.fex.to/](https://api-bank.fex.to/) and aggregates rates from the following 86 public data providers: 1. ๐Ÿ‡ฆ๐Ÿ‡ช AE Central Bank of the UAE 2. ๐Ÿ‡ฆ๐Ÿ‡ฑ AL Bank of Albania 3. ๐Ÿ‡ฆ๐Ÿ‡ท AR Central Bank of Argentina (retail) 4. ๐Ÿ‡ฆ๐Ÿ‡ท AR Central Bank of Argentina (uva) 5. ๐Ÿ‡ฆ๐Ÿ‡ท AR Central Bank of Argentina (wholesale) 6. ๐Ÿ‡ฆ๐Ÿ‡ท AR Cronista Dollar Blue 7. ๐Ÿ‡ฆ๐Ÿ‡บ AU Reserve Bank of Australia 8. ๐Ÿ‡ฆ๐Ÿ‡ฟ AZ Central Bank of the Republic of Azerbaijan 9. ๐Ÿ‡ง๐Ÿ‡ฆ BA The Central Bank of Bosnia and Herzegovina 10. ๐Ÿ‡ง๐Ÿ‡ฉ BD Bangladesh Bank 11. ๐Ÿ‡ง๐Ÿ‡ฌ BG Bulgarian National Bank 12. ๐Ÿ‡ง๐Ÿ‡ญ BH Central Bank of Bahrain 13. ๐Ÿ‡ง๐Ÿ‡ท BR Banco Central do Brasil (USD) 14. ๐Ÿ‡ง๐Ÿ‡น BT Royal Monetary Authority of Bhutan 15. ๐Ÿ‡ง๐Ÿ‡พ BY National Bank of the Republic of Belarus (Belta) 16. ๐Ÿ‡จ๐Ÿ‡ฆ CA Bank of Canada 17. ๐Ÿ‡จ๐Ÿ‡ญ CH Swiss National Bank 18. ๐Ÿ‡จ๐Ÿ‡ฑ CL Central Bank of Chile 19. ๐Ÿ‡จ๐Ÿ‡บ CU Central Bank of Cuba 20. ๐Ÿ‡จ๐Ÿ‡ฟ CZ Czech National Bank 21. ๐Ÿ‡ฉ๐Ÿ‡ฐ DK Danmarks Nationalbank 22. ๐Ÿ‡ฉ๐Ÿ‡ฟ DZ Crรฉdit Populaire dโ€™Algรฉrie 23. ๐Ÿ‡ฉ๐Ÿ‡ฟ DZ Devise Square (Black Market) 24. ๐Ÿ‡ช๐Ÿ‡ฌ EG Central Bank of Egypt 25. ๐Ÿ‡ช๐Ÿ‡น ET National Bank of Ethiopia 26. ๐Ÿ‡ช๐Ÿ‡บ EU European Central Bank 27. ๐Ÿ‡ฌ๐Ÿ‡ง GB Bank of England 28. ๐Ÿ‡ฌ๐Ÿ‡ช GE The National Bank of Georgia 29. ๐Ÿ‡ญ๐Ÿ‡บ HU Hungarian National Bank 30. ๐Ÿ‡ฎ๐Ÿ‡ฑ IL Bank of Israel 31. ๐Ÿ‡ฎ๐Ÿ‡ณ IN Financial Benchmarks India 32. ๐Ÿ‡ฎ๐Ÿ‡ธ IS Central Bank of Iceland 33. ๐Ÿ‡ฐ๐Ÿ‡ญ KH Bank of Cambodia 34. ๐Ÿ‡ฐ๐Ÿ‡ท KR Seoul Money Brokerage Services 35. ๐Ÿ‡ฐ๐Ÿ‡ฟ KZ National Bank of Kazakhstan 36. ๐Ÿ‡ฑ๐Ÿ‡ง LB Bank of Lebanon 37. ๐Ÿ‡ฑ๐Ÿ‡ง LB Lebanese Lira Black Market 38. ๐Ÿ‡ฑ๐Ÿ‡ง LB Lebanese Lira Sayrafa Rate 39. ๐Ÿ‡ฒ๐Ÿ‡ฆ MA BANK AL-MAGHRIB 40. ๐Ÿ‡ฒ๐Ÿ‡ฉ MD National Bank of Moldova 41. ๐Ÿ‡ฒ๐Ÿ‡ฒ MM Central Bank of Myanmar 42. ๐Ÿ‡ฒ๐Ÿ‡ฝ MX Bank of Mexico 43. ๐Ÿ‡ฒ๐Ÿ‡ฝ MX Bank of Mexico (FIX) 44. ๐Ÿ‡ณ๐Ÿ‡ฌ NG Central Bank of Nigeria 45. ๐Ÿ‡ณ๐Ÿ‡ฌ NG Naira Black Market Exchange Rates Today 46. ๐Ÿ‡ณ๐Ÿ‡ต NP Nepal Rastra bank 47. ๐Ÿ‡ต๐Ÿ‡ช PE Cambi 48. ๐Ÿ‡ต๐Ÿ‡ช PE Cambia FX 49. ๐Ÿ‡ต๐Ÿ‡ช PE Cambix 50. ๐Ÿ‡ต๐Ÿ‡ช PE Dollar House 51. ๐Ÿ‡ต๐Ÿ‡ช PE Hir Power 52. ๐Ÿ‡ต๐Ÿ‡ช PE Instakash FX 53. ๐Ÿ‡ต๐Ÿ‡ช PE oKane Cambio Online 54. ๐Ÿ‡ต๐Ÿ‡ช PE Roblex 55. ๐Ÿ‡ต๐Ÿ‡ช PE Srcambio 56. ๐Ÿ‡ต๐Ÿ‡ช PE TKambio 57. ๐Ÿ‡ต๐Ÿ‡ช PE Yanki 58. ๐Ÿ‡ต๐Ÿ‡ญ PH Central Bank of the Philippines 59. ๐Ÿ‡ต๐Ÿ‡ฑ PL Polish National Bank 60. ๐Ÿ‡ท๐Ÿ‡ด RO Banca Transilvania 61. ๐Ÿ‡ท๐Ÿ‡ด RO National Bank of Romania 62. ๐Ÿ‡ท๐Ÿ‡ธ RS National Bank of Serbia 63. ๐Ÿ‡ท๐Ÿ‡บ RU The Central Bank of the Russian Federation 64. ๐Ÿ‡ธ๐Ÿ‡ช SE Riksbank 65. ๐Ÿ‡ธ๐Ÿ‡ฌ SG Monetary Authority of Singapore 66. ๐Ÿ‡ธ๐Ÿ‡ธ SS Bank of South Sudan 67. ๐Ÿ‡น๐Ÿ‡ญ TH Bank of Thailand 68. ๐Ÿ‡น๐Ÿ‡ฏ TJ National Bank of Tajikistan 69. ๐Ÿ‡น๐Ÿ‡ฒ TM Central Bank of Turkmenistan 70. ๐Ÿ‡น๐Ÿ‡ณ TN Central Bank of Tunisia 71. ๐Ÿ‡น๐Ÿ‡ท TR Central Bank of the Republic of Turkey 72. ๐Ÿ‡น๐Ÿ‡ผ TW Central Bank of the Republic of China 73. ๐Ÿ‡บ๐Ÿ‡ฆ UA Minfin Blackmarket USD 74. ๐Ÿ‡บ๐Ÿ‡ฆ UA Monobank 75. ๐Ÿ‡บ๐Ÿ‡ฆ UA National Bank of Ukraine 76. ๐Ÿ‡บ๐Ÿ‡ฆ UA PrivatBank 77. ๐Ÿ‡บ๐Ÿ‡ฟ UZ The Central Bank of the Republic of Uzbekistan 78. ๐Ÿ‡ป๐Ÿ‡ช VE Central bank of Venezuela 79. ๐Ÿ‡ป๐Ÿ‡ณ VN Vietcombank 80. ๐Ÿ‡ฟ๐Ÿ‡ฆ ZA South African Reserve Bank 81. ๐Ÿด OECS Eastern Caribbean Central Bank 82. ๐Ÿด XX CurrencyRate.Today 83. ๐Ÿด XX Transnistrian Republican Bank 84. ๐Ÿด XX West African Monetary Agency 85. ๐Ÿ‡ช๐Ÿ‡ฌ EG Egypt Pound Black Market Rate 86. ๐ŸŽฎ Second Life Game Currency: Linden Dollar == Upgrade Notice == = 0.3.2 = * Removed block inspector deprecation notices in the WordPress 6.8โ€“7.0 editor console by opting into the current component sizing. = 0.3.1 = * Fixed the converter block missing from the block inserter on WordPress 6.2โ€“6.4 and verified compatibility with WordPress 7.1. = 0.3.0 = * Adds the Gutenberg block, admin generator, PHP helper, and rendering improvements for WordPress 7 compatibility. = 0.2.3 = * Fixes bundled translation loading and refreshes the translation template. = 0.1.0 = * First release == Changelog == = 0.3.2 = * Opted into the current WordPress component sizing in the block inspector, removing deprecation notices in the WordPress 6.8โ€“7.0 editor console. = 0.3.1 = * Fixed the converter block missing from the block inserter on WordPress 6.2โ€“6.4: editor assets pre-registered by the plugin are now attached to the block explicitly on those versions. * Verified compatibility with WordPress 7.1. = 0.3.0 = * Added the new Gutenberg currency converter block. * Added a backup way to load the Gutenberg converter block, so it still works if WordPress misses the normal block setup. * Added an admin code generator with preview, source/currency browsing tools, and shortcode/PHP output modes. * Added an optional attribution link mode for shortcode, PHP, and Gutenberg block output. * Added the direct `fxcc_convert()` PHP helper for theme templates. * Improved `dec="match"` precision handling for small converted values. = 0.2.3 = * Fixed bundled translation loading by using the correct plugin-relative languages path. * Refreshed the translation template for the current release. = 0.2.2 = * Verified compatibility with WordPress 7.0. = 0.2.1 = * Security fix: Sanitized and escaped all user-supplied shortcode attributes to prevent Stored XSS vulnerability (CVE-2025-13963) * Security fix: Added proper output escaping in settings page = 0.2.0 = * Minor bug fixed * Add multi language support = 0.1.0 = * First release == Screenshots == 1. screenshot-1.jpg - Admin shortcode generator with live preview, display-format controls, and generated shortcode/PHP snippet output. 2. screenshot-2.jpg - Currency list tab showing supported ISO codes, flags, fiat currencies, crypto assets, and metals. 3. screenshot-3.jpg - Gutenberg block editor view with inline conversion output and sidebar controls for amount, currencies, swap action, and display format. == ๐Ÿฉ Donations == โ„น๏ธ Website: [CurrencyConvert](https://currencyconvert.online/) ๐ŸŒ Sources: [CurrencyRate](https://currencyrate.today/)