Hi,
It’s a humble request that, please test this plugin with the latest WP version and update it on WP.org with the latest WP version stable tag.
So that we can easily search and find this plugin on top of others in the search results at least.
Thank you,
Fahid
]]>Recently I had problems with compatibility with PHP 7.2 and got an error “[] operator not supported for strings”.
The present downloadable work on Github https://github.com/unfulvio/wp-currencies could solve my problems and it works well again. It would be good to make this generally available with an Plugin-update for all users.
Thanks, Peter
Hi there,
I tried to change the currency symbol position of GBP to “before” and decimals to “0” in currency-data.php but it didn’t work.
Anything I should change at the same time?
Does it cause by the theme I am applied?
]]>How to do this, is it possible?
[currency_convert amount=”1″ from=”USD” in=”MDL” round=”2″ thousands_sep=” “]
I have followed the instructions but nothing happens when the currency is selected. I am using the Real Homes theme which supports your plugin out the box.
When I look in the Chrome dev console log as I change the currency it displays this:
Object {success: false, message: “Failed to updated cookie !”}
I have disabled all other plugins, any caching and cleared out all cookies from my browser and tried different browsers too but it still gives the same error in the console.
Please tell me what would cause this to happen.
]]>Hello –
Getting this warning:
Warning: WP Currencies: There was a problem fetching currency data from database. Is your API key valid? in /home/andreyb4/public_html/manaslutrailrace/wp-content/plugins/wp-currencies/includes/functions.php on line 117
The API is correct as the link provided on the open exchange website is working (API Key changed)
https://openexchangerates.org/api/latest.json?app_id=8e5cdad511a34XXXXXXX858d188dd1e
Has the output from https://openexchangerates.org changed?
]]>Hello,
I am trying to automatically update the WCML currency rates using this code in functions.php:
function my_wp_currencies_filter( $rates_array ) {
foreach ($rates_array as $key => $value) {
$rates_array[$key] = 0.5;
}
return $rates_array;
}
add_filter( 'wcml_exchange_rates', 'my_wp_currencies_filter');
I also tried this code:
function my_wp_currencies_filter( $rates_array ) {
var_dump( $rates_array );
$wp_curr_rates = get_exchange_rates();
var_dump( $wp_curr_rates);
return $rates_array;
}
add_filter( 'wcml_exchange_rates', 'my_wp_currencies_filter');
Unfortunately, on the WCML multi-currency settings in the wp backend, the rates are not updated. What is the proper way to make WP currencies update the WCML exchange rates?
PS: Just to be clear: I got an API code set in the WP Currencies settings of course ??
Thanks for any reply in advance.
]]>Hi,
I run this website: uniquecorners.com It is a multisite.
I installed wp-currencies and activated. I introduced my API key and used your functions to print some prices. But I get empty strings out of convert_currency
I checked my database and the currencies table is empty. I checked my openexchangerates.org and there had been no requests.
Then, I checked my cron and there was no job added by the plugin.
I did this checks twice. In the first time, I had activated the plugin to the network (Network Activate) and the second time, I just did it for one site. Same result…
What can I be doing wrong?
Thanks
]]>Hi,
is it possible to actualize data without WP Cron? I have CRON on my server, so it is possible to call some URL etc.
Thank you!
]]>Hi,
Kindly check this screenshot https://jmp.sh/vwXSKhA
Some currencies data gets corrupted over time.
Can you look into it and fix this issue.
Regards
]]>After installing the plugin I get an error
`Parse error: syntax error, unexpected T_FUNCTION in /wp-content/plugins/wp-currencies/wp-currencies.php on line 40
Please, help
]]>I installed the plugin but I don’t see a Currencies option in WordPress Settings.
Please assist.
Regards,
Jos
when setting my currency through theme option i use place symbol for currency on the left and to 0 decimal places, but when i use the plugin to select a currency its set the currency symbols to the right and sets the amount to 2 decimal places?
]]>As of 1.4.0 WP Currencies should have a better structure, with safety and performance improvements.
At the same time, the minimum required PHP version to run this plugin is now 5.4.0.
I moved a better documentation to the wiki pages of the plugin’s github repository: https://github.com/nekojira/wp-currencies
]]>As of 1.3.0 support for WCML is removed.
The reason is that WCML was storing the currency rates by letting admins manually inserting them in WCML options. These were then saved into database as a WordPress option. Until a while ago, there was no hook and the only way to dynamically adjust the rates was to overwrite the entire WCML option group at periodical intervals. Which is what WP Currencies did so far. However, WCML in newer versions changed the structure of their settings (essentially an array), WP Currencies couldn’t find the same array key and failed to update the currencies and breaking WCML on top of that.
This was already pointed out by some users. And I was aware that it wasn’t really a good idea, but to accomplish that there was no alternative offered by WCML.
I’ve made a quick search and they seem finally to offer some hooks: https://wpml.org/documentation/related-projects/woocommerce-multilingual/multi-currency-support-woocommerce/ (look at the bottom of the document) – with these hooks it should be easy to take the values from WP Currencies and filter the rates of WCML, without the need of a specific support of WP Currencies for WCML.
]]>Hi,
I am wanting to use WP Currencies to calculate the exchange rate between USD and the currency set on my user profile.
If the user profile field is called currency what do I need to add in the below line?
convert_currency( $amount = 1, $from = ‘{user:currency}’, $in = ‘USD’ );
I can’t code php so am having some trouble getting this to work so would really appreciate any help!
Thanks
On the options page it is difficult to find the currency “Euro”.
Searching for the word “Euro” within the page text yields no result.
Searching for the Euro sign finds it labeled as “€* Estonian Kroon”.
After activating the plugin I went to the options page. In the section “Base Currency” at ach radio button is the PHP notice:
Notice: Undefined index: AOA in /path-to-plugins-folder/localmoney/classes/admin.php on line 223
.
Could you please fix that?
]]>Hi,
On my local MAMP server I am experiencing that ‘currency_data’ column in ‘wp_currencies’ goes null after one day. here is related screenshot https://inspirythemes.com/sup-img/3_1AC2A158.png
According to my settings the update frequency is daily.
I think currency data should stay the same as the information it contains will remain the same all the time.
Thanks & Regards
]]>Hello,
I tried the two shortcodes you give on the FAQ page.
Both aren’t working.
I get this error:
Warning: The specified currency could not be found in D:\Travail\wamp\www\maisonb\wp-content\plugins\wp-currencies\public\functions.php on line 197
Hello,
This plugin is exactly what I’ve been looking for! only problem is that I can’t get it to work. I’ve got the API set up, and the currencies enabled (currently set EURO = 1 GBP which is obviously very wrong) but it won’t seem to change.
Is there any way to kind of force it to start working? or to do it’s first dynamic change?
Many thanks
Jonathan
]]>