Περιγραφή
Αυτό το πρόσθετο έχει κλείσει από τις 3 Μαρτίου 2021 και δεν είναι διαθέσιμο για λήψη. Αυτό το κλείσιμο είναι μόνιμο. Αιτία: Αίτημα συντάκτη.
Κριτικές
3 Μαΐου 2018
If you want to use this plugin still then you need to change the function wpccAjaxConvert to the code below as the google financial api is deprecated.
function wpccAjaxConvert(){
require_once('wpccSymbols.php'); // currency symbols for conversions
$currency_from = $_POST['wpcc_currency_from'];
$currency_to = $_POST['wpcc_currency_to'];
$amount = $_POST['wpcc_currency_amount'];
$url = file_get_contents('https://free.currencyconverterapi.com/api/v5/convert?q=' . $currency_from . '_' . $currency_to . '&compact=ultra');
$json = json_decode($url, true);
$rate = implode(" ",$json);
$total = $rate * $amount;
$rounded = round($total); //optional, rounds to a whole number
// return $rounded //or return $rounded if you kept the rounding bit from above
if (!empty($rounded)){
echo '<p>' . __('Amount', 'wpcc') . ' (' . $currency_to . '): ' . $currency[$currency_to] . $rounded . '</p>';
} else {
echo '<p class="wpcc_error">' . __('Error: Currency conversion temporarily not available. Please try again.', 'wpcc') . '</p>';
}
exit();
}
8 Νοεμβρίου 2017
this plugin was FANTASTIC however due to a url change with google it quit working October 2017. it can be fixed manually by changing the url to https://finance.google.com/finance/converter in the wp-currency-converter.php file. more detials here:
https://gist.github.com/daveismyname/8067095
30 Αυγούστου 2017
does not work
19 Αυγούστου 2017
Still works....most of the time....needs to be updated 🙂
3 Σεπτεμβρίου 2016
Works perfect! thank you.
8 Φεβρουαρίου 2017
Hello does your plugin work with multi-currency setup (provided by WPML+WCML) when currently selected currency is not the default one?
Συνεισφέροντες & Προγραμματιστές
“WP Currency Converter” είναι λογισμικό ανοιχτού κώδικα. Οι παρακάτω έχουν συνεισφέρει στη δημιουργία του.
ΣυντελεστέςΜεταφράστε το “WP Currency Converter” στην γλώσσα σας.
Ενδιαφέρεστε για την ανάπτυξη;
Περιηγηθείτε στον κώδικα, ανατρέξτε στο αποθετήριο SVN ή εγγραφείτε στο αρχείο καταγραφής αλλαγών ανάπτυξης μέσω RSS .