| 开发者 | falselight |
|---|---|
| 更新时间 | 2026年10月25日 02:00 |
| 捐献地址: | 去捐款 |
| PHP版本: | 5.6 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
No. The plugin retrieves exchange-rate data from the public CurrencyRate service without requiring an API key or account. Your WordPress server needs an internet connection to retrieve new data.
The plugin schedules an update every 30 minutes through WordPress Cron. The actual execution time depends on your site's WP-Cron configuration and traffic. Each data source also has its own publication schedule, so a scheduled request does not necessarily mean that new rates are available. The converter recalculates amounts immediately using the rates loaded with the page. It does not request a new market quote for every conversion. Pages show saved rates immediately while WordPress Cron refreshes expired data in the background. If a refresh fails, the last saved rates and their original date remain visible, and another background attempt is scheduled after five minutes. Reload the page to see newly saved rates; open pages do not update automatically. When no rates have been loaded, the plugin displays an unavailable-data message. For updates without site visits, configure your hosting scheduler to run WordPress Cron. Full-page or CDN caches may continue showing older page content until they expire or are cleared.
Open Settings → Exchange Rates, select a source, and save your settings. Review the currency list and rate information shown on the settings page to check that the source provides the data you need. The selected source is shared by the plugin's converters, tables, and badges. You can use different display settings and currency lists for individual displays.
After saving, confirm that the update succeeded in Settings → Exchange Rates. Review the source name, rate dates, and available currencies before using the displayed conversions. If the selected source cannot be loaded, previously stored rates retain their original source, conversion direction, and rate dates. The selection remains saved for the next update; it does not relabel or reinterpret the stored rates. Retry with Force Data Update and confirm that the selected source updates successfully.
Yes. Open Settings → Exchange Rates and use Force Data Update. The button is also available when the first attempt to load rates has failed. If the request fails, check the API connection or source availability and try again. Existing saved rates are retained. After a successful request, the settings page reloads and shows the last successful update time. Manual requests are subject to a one-minute interval after a successful update.
Deactivating Exchange Rates preserves its settings, widget configurations, and saved exchange rates. Deleting the plugin through the WordPress Plugins screen removes its settings, widget configurations, saved rates, and cached source directory. Posts, pages, and embedded shortcodes are not modified; the plugin must be active for its shortcodes and widgets to work. To update, reinstall, or roll back while preserving your configuration, replace the plugin files without deleting the plugin through WordPress first. Back up your database before uninstalling.
Yes. In the block editor, add a Shortcode block and paste the shortcode into it. Currency converter: [exchange-rates_currency-converter title="Currency Converter" amount="100" from="USD" to="EUR"] Exchange-rate table: [exchange-rates_currency-table base_currency="USD" currency_list="EUR,GBP,JPY" amount="1"] Exchange-rate table with an editable amount: [exchange-rates_currency-table base_currency="USD" currency_list="EUR,GBP,JPY" amount="100" amount_active="true"] Currency badges: [exchange-rates_badge base_currency="USD" currency_list="EUR,GBP,JPY" amount="100" code="true"] Use currencies available from your selected source. You can review that source's currency list on the plugin settings page.
Yes. Tables can use different currency lists, starting amounts, and display settings. Changing the amount in one table recalculates that table only.
Enter positive numbers without thousands separators or currency symbols. Use a period for decimals, for example 1000 or 1000.50. Table inputs do not correctly parse locale-formatted amounts such as 1,000 or 1 000; these can be read as 1. Number-format settings control the displayed results, not the accepted input format.
No. Exchange Rates displays conversions and reference amounts. It does not change your store's checkout currency, payment processing, or stored product prices. Badge amounts are supplied through the shortcode; they are not automatically synchronized with a product's price.
Each source provides its own set of currencies and rate information. A currency listed in the plugin's catalog is not necessarily available from every source. Previous-close values and changes also depend on the data supplied. Check the selected source and its available currency list in Settings → Exchange Rates.
Yes. A page cache or CDN can continue serving a previously generated page after the plugin has downloaded new rates. Configure the cache lifetime or purge the relevant pages so visitors receive updated content. After updating the plugin, purge cached pages and regenerate combined or minified assets so visitors receive the updated scripts.
Converters, tables, and badges include source captions to explain the origin and date of the rates. These captions link to currency-rate information on CurrencyRate.today or CurrencyConvert.online. The source-information panel also includes a link to the source website, check and latest-change times, and the API provider. It contains a rate disclaimer and a link to the plugin's WordPress.org page.
Exchange-rate data and source information are retrieved through api-bank.fex.to, the API interface for CurrencyRate.today. Requests are made from your WordPress server. Rate requests can occur on activation, scheduled background updates, source changes, and manual refreshes. Frontend rendering reads saved rates without waiting for the API. A page visit can queue a background refresh when data is missing or at least 30 minutes old; WordPress Cron performs the request separately. The settings page also requests source information when its cached copy needs refreshing. A rate request identifies the selected source. By default, the WordPress HTTP API sends the site's URL and WordPress version in the User-Agent header. The API server also receives the requesting server's IP address. Amounts entered into the converter are calculated in the visitor's browser; they are not sent to the exchange-rate API. When emoji flags are selected, the visitor's browser loads flag images from s.w.org, which receives the visitor's IP address and the browser's request headers. Other flag styles are included with the plugin. For information about the data provider, see CurrencyRate.Today, its Privacy Policy, and its Legal Disclaimer.
The catalog below lists the sources included in this plugin version. Availability may change over time. Data is delivered through the CurrencyRate service. Source availability, currency coverage, and publication schedules may vary. This catalog includes central banks, commercial banks, exchange services, alternative market sources, and a virtual currency source.
The plugin's currency catalog contains the following 199 entries. The catalog includes national currencies, cryptocurrencies, precious metals, historical currencies, and other units. Inclusion in this list does not guarantee that a source currently supplies a rate for that entry. Currency codes help distinguish entries with similar names and older denominations. Available choices depend on the selected source.