WordPress Plugin – LocalCurrency
Current version: 2.2 (September 29, 2010)
Download: Download (downloaded 1,086 times*)
Requires: WordPress v2.8.0 or higher
Compatible up to: WordPress v3.0.5
WordPress Plugin Directory |
Subscribe To Plugin News
* Was downloaded 2124 times before being added to the official directory
Shows currency values to readers in their local currency (in brackets after the original value). For example: If the site’s currency is Chinese yuan and the post contains 10 yuan, a user from Australia will see 10 yuan (AUD$1.53), while a user from US will see 10 yuan (USD$1.39).
Why Use It?
I’ve seen many bloggers write something like: 10 yuan (about $1.50) – because many of their readers don’t know how much yuan (or whatever currency they are using) is worth.
LocalCurrency automatically does this for you and tells readers exactly how much it’s worth, in their own currency, wherever they are from.
Features
- Determines the reader’s country via IP address, using IP2C
- Obtains exchange rates from Yahoo! Finance
- Uses ‘AJAX’ techniques so that converting currency values doesn’t delay page load times
- Caches exchange rates locally to minimise calls to Yahoo! Finance
- Only does something if there is a currency value in the post
- Allows visitors to change their currency via a selection box
- Gives site owner the ability to hide the original value if desired
- Gives site owner the choice of using current or historic rates (ie at time of post)
Installation
- Download the plugin file and unzip it.
- Upload the localcurrency folder to the wp-content/plugins folder.
- Activate the localcurrency plugin within WordPress.
Note: The plugin is large compared to most WordPress plugins, due the IP2C database used to recognise the reader’s country
Alternatively, you can install the plugin automatically through the WordPress Admin interface by going to Plugins -> Add New and searching for LocalCurrency.
Upgrade
- Download the plugin file and unzip it.
- Upload the localcurrency folder to the wp-content/plugins folder, overwriting the existing files.
- Deactivate the plugin within WordPress, then reactivate it (to make sure any new settings are created).
Alternatively, you can update this plugin through the WordPress Admin interface.
Usage
Enter any currency values you want converted within <--LCSTART--> and <--LCEND--> tags. This can be done through the Code view. Simply select the number to be converted and click the LocalCurrency Quicktag. This should enter the tags for you. For example:
<--LCSTART-->$10<--LCEND-->
WARNING:
The plugin strips non numeric characters (such as $) from between the tags, before converting the value. However, some currency symbols may include numeric characters. For example, 10元 may be stored as 10&#20803;. The 20803 will remain after the non numeric characters are stripped and will be considered as part of the value to convert, resulting in an incorrect value.
If you experience this problem, simply leave the currency sign outside the tags (ie: <--LCSTART-->10<--LCEND-->元).
Note: If you disable the plugin, the tags will remain in your post but will not be shown, because they are in a HTML comment.
See LocalCurrency In Action
The following sentence should contain the amount in your local currency:
I spent 20 yuan on dinner last night, then 30 yuan on the taxi home.
If you want to change the currency, use the selection box at the bottom of the post. Note: if you are in China, you will not see anything.
Support
This plugin is officially not supported (due to my time constraints), but if you leave a comment below or contact me, I should be able to help.
Disclaimer
This plugin is released under the GPL licence.
I do not accept any responsibility for any damages or losses, direct or indirect, that may arise from using the plugin or these instructions. This software is provided as is, with absolutely no warranty. Please refer to the full version of the GPL license for more information.
Acknowledgements
This plugin makes use of some code from the CurreX plugin. Thanks to miCRoSCoPiC^eaRthLinG.
It also uses IP2C and Yahoo! Finance.













[...] Visit [...]
[...] Visit [...]
Nice work on the plugin, Stephen. Leave the plugin – the whole idea itself is brilliant and I’m sure this plugin will receive a wide audience the moment people realize it’s true potential.
You may want to release the the code as a non-plugin version too, as the usefulness of this beauty far transcends that of a simple wordpress plugin. This one can find wide deployment across various financial / property sites…
Cheers,
m^e
miCRoSCoPiC^eaRthLinG,
Thanks! Good idea – when I get time, I’ll write up how to do this outside of WordPress. I’ll do that at my other site, More Than Scratch The Surface.
Thanks again for the curreX plugin, without which, LocalCurrency wouldn’t have been possible (at least it would have been much harder!).
I’ve now released a new version 1.01, fixing two problems:
1. The plugin didn’t work if there was only one currency on the page. This was because of the way the JavaScript array was dynamically created by PHP (it didn’t cater for arrays with only one value, which need to be created differently). Now fixed.
2. The plugin didn’t work properly on the home page (and other pages with more than one post). I’ve fixed it so it now works, but note: if you change the currency, it will only change currency values in the post you changed it from. It will not change other posts on the page. I may add this future, so changing one post will change all (I got this working, but it was not stable and needs further investigation, so I left it out for now).
The new version can be download above.
Howdy
Great plugin, I’ve been looking for somehting like this. I have a whisky site where I add the cost of whisky bottles by Custom fields. I then add this info to the post but not wiithin the loop. Does this work outside the loop?
Hi Jens,
At the moment it won’t work with Custom fields as they aren’t actually part of the post body. It may be possible to modify it so that it filters the custom fields instead, but I’d need to find out more about how you use the custom fields (is there only one for each post, or are there several, what are their names, etc).
If you could send me some more details in an email, I’ll have a look into it. If I can do a quick hack, I will – although if it’s a lot of work, I won’t have time now.
Hi,
Great plugin. See it in action on http://theshop.free-jazz.net which runs on WordPress_MU …
A question: is there any development still going on? If so, are there plans for a widget as alternative to the current select box ?
Anyway, thanks !
Hi RavanH,
I’m open to further developing this plugin, although my time is pretty limited over the next few months.
If you’re after a widget to enter a value and have it converted to the currency of your choice, try the CurreX plugin.
If you’re after something else, give me some more details and I’ll see if I can do anything.
Hi Stephen,
Let me explain more: I am thinking of the Currency selection box that will appear at the bottom of the page/post. Would it not be nice to make it possible to place it anywhere in the sidebar through a widget?
Again, already a SMART plugin !
RavanH,
Okay, I understand now. It would be possible to do, but there is one major problem for this: The selection box (and all the required JavaScript) only appears on posts which have a currency to convert.
The widget would have to only appear when there was something to convert too. That’s possible – the only worry is not having a space show instead.
I’ll put this on the list of things to look into further, but with my current workload, it may be a while before I get to it.
Hi Stephen, great plugin, thanks for working on it.
But I have a problem with it that might be a bug, for some reason, it’s not converting the values on my blog, it just displays “NaN” where the converted value should be. I can see it working on your post, but it’s not doing it for me.
Hi Juan,
I’ve been to your site and seen the problem. It’s a bit puzzling, because it works on my site, but not yours, so it seems to be something to do with the server.
Anyway, I’ve been through the code, narrowing down where the problem may be. It seems almost certain that it’s related to the server side script that contacts Yahoo! Finance and gets the exchange rate.
The NaN stands for Not A Number. I suspect that the server side script isn’t returning the exchange rate. To confirm this, I really need to see what is being returned by the script. The only way to do this, would be for me to send you a new plugin file, which has a JavaScript alert which pops up with the value.
You obviously won’t want to leave this in place (users will keep getting pop up messages with the value!), but if you could put it in for a brief time, note what it says, then put the old plugin file back, that would give me some key information to look into it further.
Let me know if you’re willing to try this and I’ll send you the modified plugin file as soon as I can. Thank you.
I’m open to try that, if it helps you inprove your plugin, I would be happy to help.
Besides I installed this plugin because of the excelent service it provides, so the proper thing to do is help it improve and make it work for me.
Hi Juan,
Thank you for having a great attitude – not everyone is so helpful! Plugin authors such as myself really appreciate it when some is willing to help sort out problems.
I’ll email you a new localcurrency.php shortly. I’ve actually done it a little nicer than I said in my previous comment. I’ve added a debug mode option to the Options page, so you can turn the debug mode on and off as you need. Also, it should only affect users who are logged in (at level 9 or above), so your readers won’t notice a thing.
Once you get the new file, simply ftp it up to the wp-content/plugins/localcurrency folder on your server (overwriting the previous file). There’s no need to put back the original afterwards, you can leave the new file there.
Then go to the Options -> Local Currency page and turn on debug mode and Save the option. Go to a post where there are values to be converted and some messages should pop up. If you could make a note of them and email me back, it should help me work out where the problem lies. Then you can turn debug mode off.
Hello Stephen, please remember to send me the new plugin file, let’s see if it works now.
Hi Juan,
Whoops, some problem with email I guess… I emailed the file on March 13 to the email address you left with your comment. I’ll try sending it again. Please let me know if you don’t get.
If you can let me know what numbers it pops up with it, I may be able to work out what the problem is. Thanks!
Hi Stephen, let me know if you’ve got the email with the results of the test.
Good luck.
A new feature that I’d very much like to see is the ability to specify a variant source currency. I often have to write the prices of various bits of shareware into my blog so I have set US dollars as the “default” (even though I’m in Australia) – but some shareware is priced in euros. I would love to be able to vary the LC tags perhaps to something like this:
<!-- LCSTART CURR=EU-->5<!-- LCEND-->Using the 2-letter country codes (or whatever Yahoo Finance uses? I only ever need 4-5 currencies so having to look up the code wouldn’t be a problem) to indicate to LC that the currency isn’t whatever the specified default is.
My blog’s http://atmac.org/ – I’m working on upgrades so your plugin isn’t live where you can see it yet, but I have it worked into the upgrades and it’s very helpful. Thank you very much for providing it
.
- Ricky
Hi
I’ve been looking for something like this for a long time. I’m just glad I’ve been brought to this page as I was looking for some WP plugins. Thank you so much for such excellent work. Will let you know how it works on my site. Best regards.
… just noticed this real-time preview display of this post. Wow, you’re great. Thanks so much.
Just a follow-up question. I noticed that the converted symbol used for Philippine Pesos is PHPPhp. It is redundant since we only use PhP (Ph for Philippines, and P for Peso). Is there any way we can adjust/configure this so that we only show PhP? Thanks again for such wonderful work.
[...] LocalCurrency [...]
[...] Automatically Convert Currencies Local Currency [...]
[...] WordPress Plugin – LocalCurrency ändert in Postings per AJAX ohne Reload der Seiten eingegebene Währungen anhand der IP [...]
[...] I recently finished the LocalCurrency plugin, I tried adding it to the various WordPress plugin lists that exist and found that several are [...]
Hey
I considered making my own plugin for this need but thought I would use an existing one and so far this is the only found. So thanks for this I’ll donate when I can.
Ryan
http://www.webtechglobal.co.uk
It doesn’t work in WordPress 2.8.3.
The short tag is not parsed.
Hi Simon,
This blog is running WordPress 2.8.4 and it’s working for me – see the “See LocalCurrency In Action” section above.
If the code isn’t being parsed, the most likely cause is another plugin filtering the content of the post / page before LocalCurrency get’s it. Can you give me some more details what other plugins you’re running?
hi there, no doubt a nice piece of work. Is it possible for user to select which currency they want to see all values? I see that on your website its working. are you adding it in next release?
As I’ve been writing a travelogue several years now, it would be helpful to lock in a currency price conversion for that specific post date, as opposed to using the today’s valuation when the post is read months or years down the road.
Cheers
Hi Craig,
I was just about to add this to the plugin, when I realised it’s not really feasible. I understand the need (I have some old post that are losing their meaning because of changes in exchange rates), but…
That would mean we’d have to store all 140-odd currencies for each post. ie If someone from France lands on your 5 year old post, you need to know the Euro rate from 5 years ago. If the next visitor is from Singapore, you need to know the Singapore dollar rate from 5 years ago (and so on).
Storing 140 currencies isn’t a big deal in it’s own right, but contacting Yahoo 140 times in a short space of time, could be. I’ll see what I can come up with, but it may this can’t be included.
I might have found the way to do this, but no promises as it looks like a complete rewrite… I’ll investigated over the next few days
Hi Stephen,
Just stumbled across this and I think the idea is BRILLIANT.
Not many comments these days and still same version. You still keeping tabs on your plugin?
I have a question: Is it possible to have the plugin do the conversion and NOT show the base price, just the converted price? A 1.0.2 with that would be a HUGE help.
I have price tables like the one at the bottom of this page:
http://divinginstructortrianing.com/internships/instructor.asp
This site is being converted to WP and when it is, I’d like to show the price tables in the converted currency. But, as you see, space in the table is limited, so I don’t really want to cram 2 prices in each cell.
Also, the just-above comment about letting the user choose a currency would be Fab.
If you could help me out, I’d certainly Paypal you some thanks!
Bob
Hi there,
Sorry, misplaced your e-mail address.
Just wondering if you had an opportunity to work on the plugin updates as per your last reply to me. We’re ready to launch the site next week and while the real-time conversion is not required, it would be nice to have soon.
Hi Bob,
I’m on it now and I’m giving the plugin an overhaul while I’m at it. I know a lot more about writing WordPress plugins now than I did two and a half years ago! Should hopefully be ready mid next week.
Sounds wonderful. Really looking forward to seeing what you come up with.
Just a quick update – it probably won’t be finished until next week. I’ve rewritten a lot of it to make it more efficient and secure.
I’ll also be putting it in the official plugin directory, so when the update is made, you should receive a notification from the Plugins page in the WordPress and be able to automatically update as you can with other plugins.
Hi All,
The new update is out and you’ll soon see notification of an update being available in the WordPress Admin area.
It’s added both Historical Exchange Rates and Hide Original Prices. It *should* be self explanatory from the Settings page, but let me know if you have any questions.
I didn’t get to adding the ability to specifiy a different source currency (for cases where one price is in one currency and another is in a different currency). I may get to that in the future.
Stephen, you’re awesome. Going to DL and check it out in the next 24 hours. Get back to you with feedback.
Hi Stephen,
Trying to deploy the plugin and have run into a couple problems.
1) If you use the options to hide the original price AND do not display historical rates (meaning you want the default current rates by UNchecking the box in the admin) ALL the base prices disappear from the page.
Example:
http://divinginstructortraining.com/pattaya-thailand/living-costs-expenses/
On my site, THB (Thai Baht) is the base currency.
I’ve entered all the prices on this page in baht and chosen to hide the original, so that when a Brit sees the page, he sees only pounds.
HOWEVER, here in Thailand, I don’t see ANY prices. Which is bad.
If I check “show historical rates” the baht prices do show.
Second — This one may not be your fault or anything you can do anything about.
At the bottom of this page:
http://divinginstructortraining.com/internships/padi-instructor-complete/
is a price table. To better manage tables in WP, I’m using WP-Table-Reloaded plugin. I put all the code and rates in the back end then insert a shortcode where I want the table to appear.
The table here DOES have the LCSTART and LCEND tags in each cell. But no conversion is occurring and no link/currency menu/etc. is being shown. The plugin is not loaded on this page.
I assume it’s because the code for the table renders apart from the rest of the content, hence the plugin doesn’t load.
Any way, you think, I can use both plugins? Yes,I can go back to putting table code into the content, but would rather not. Plus I’d have to style the damn tables!
Thanks,
B.
Hi Bob,
I see what you mean – I’ll look at this asap and try to have a new version up in the next day or two. At first guess, I must have missed something major in the logic. I’m really sorry about that.
I’ll also have a look at the WP-Table-Reloaded compatibility issue. I suspect that we need to change the order the plugins fire. LocalCurrency is running on the post content first (before the table is there so it can’t replace the shortcode), the WP-Table-Reloaded is adding the table.
I’ll let you know as soon as I get something up (although you should get a notiifcation of a new version from the Plugins page in the WordPress Admin area.
Cheers,
Stephen
Okay, a new version should be appearing in your WordPress Admin panel shortly. It fixes the first problem you identified. Thanks for finding this and apologies!
I know how to fix the second problem, but I haven’t included it in the plugin because it may actually cause more problems than it fixes. Basically you need to go to line 41 of localcurrency.php, which is in the wp-content/plugins/localcurrency folder, and which will look like this:
add_filter('the_content', 'localcurrency');Change this to:
add_filter('the_content', 'localcurrency',11);This will mean that LocalCurrency will fire after WP-Table Reloaded so it can actually work. Note however that next time you update LocalCurrency, this change will be lost and will need to be added again. Also note that this may mean that the currency selection box will drop down below other things which add items the bottom of the post (such as the sharing plugin you are using).
Finally, for that post in particular, it still won’t work, because it checks for the <!–LCSTART–> tag and it won’t find it, even after that change. However, if you add the following somewhere in the post itself, it should be able to trick it into working:
<div style="display:none"><!--LCSTART--><!--LCEND--></div>If you have any trouble with doing this, let me know and I’ll see if I can help further,
Cheers,
Stephen
Much appreciate the fast response. Upgraded and see fix for missing figures. Great.
I’ll be trying the other change today.
I had a thought that rather than use the hidden text trick, a Custom Field could be used, like EnableLC = Yes to kick it off somehow.
Just an idea.
Hi Bob,
I’ve made the changes but can’t update until tonight (about 10 hours away). Changes include:
If there’s custom field called force_lc with a value of 1, then the supporting code will be added even if there is no ‘shortcode’ on the page.
There is a new option on the setting page called Plugin Firing Priorty, that allow you to manipulate the order it manipulates the post content (as per other comment). Default is 10.
If you upgrade the plugin manually, you will need to activate and deactivate the plugin. If you do it via the WordPress automatic updater, then it does this for you.
OK, good news and bad news.
Bad news first — Second step didn’t work. Got the plugin to fire and the selector menu does appear at the bottom of the page. But the figures do not convert either onLoad on if the currency selection box is changed.
Good News? — Making the change you suggested didn’t break any pages. Menu loads where it always did, before the share plugin.
Hi Bob,
As per previous comment, there is new setting to control the priorty. Once your on the new version called Plugin Firing Priorty. Try setting this to 200 after you’ve upgraded and see if that helps.
Just to second Rick’s request from May 2008 for a per-post currency setting.
I travel quite a bit, so it’d be nice if it could handle my mentioning the local price of a beer in Singapore in one post, along with the price of a beer in Sydney in another post, and a beer in Seville in another…
If you’re not interested in implementing this, I may take a look at the code and see if I can add this myself if you don’t mind?
Hi Barry,
it’s open source so you’re welcome to change if you like. That said, I think I’ll probably add this. The question is, do you really want it on a per post basis, or on a per currency instance (which is what Rick suggested)?
Er, per-instance basis is what I think I meant, as per Ricky’s example.
Assuming the Yahoo! API allows multiple calls, we could even have several currencies per article.
ie.
In Thailand, a 32Gb iPhone 4 costs ฿<!-- LCSTART CURR=THB-->26,000<!-- LCEND-->, whereas in the UK, it costs £<!-- LCSTART CURR=GBP-->599<!-- LCEND--> compared to $<!-- LCSTART CURR=USD-->299<!-- LCEND--> in the USA.What do you think?
Yep that’s what I’m thinking. Although to be honest, I’ll probably do it through a proper WordPress shortcode:
[localcurrency curr=THB]26000[/localcurrency]or even:
[localcurrency curr=THB value=26000]as this will be easier to code. When I came up with the <!–LCSTART–> syntax, the proper WordPress shortcodes didn’t exist!
Don’t worry though, I’ll leave support for that syntax in, as that’s what existing blogs will have.
I’ll probably do this within a couple of weeks (I’ve got something else on this week).
Hey Stephen, I haven’t seen the update push through.
Never mind! Soon as I wrote that, the page showed “update available.”
Let you know how it goes tomorrow.
Screw tomorrow……
Wanna see some Currency Love? Check out the table at the bottom of the page.
http://divinginstructortraining.com/internships/padi-instructor-complete/
NOW, I do realize I’ve asked an awful lot of you and I told my partners I need to thank you with some cash for that. But I do have two more smaller questions, requests.
Neither are urgent.
1) Can I have a way to trim off the decimal places or round to the nearest whole unit?
2) I think the answer to this is no, as it comes from Yahoo!, but can the formatting of the currency figure be improved? Specifically, COMMAS to designate thousands ($1,000) and, second, a space between the current figure (GBP, THB, etc. and the number? Seeing THB4500000 is pretty hard on the eyes!
I’m willing to put up with #2 if I have to have the conversion. But it’d be nice.
A W E S O M E. Thanks so much.
Hi Bob,
Glad that’s worked.
I think there will be a way to round the figure to the nearest whole unit. I’ll have to look into number 2 though. I’ll see what I can come up with over the next week or so.
Hey Stephen,
Any progress on chopping off the decimals (or rounding) and fixing (if possible) the display to add spaces and commas?
Hello, Stephen!
I’ve seen this plugin in action and I think it’s awsome!
But I have a problem: I’m currently working on my website locally (I mean it’s not hosted anywhere), and the tags don’t work. Why is this happening and will they work once I upload the website to a server?
Also, I would really like it if I could get this to convert the currencies in the shopping cart, too (I’m using the eShop plugin). Is it possible? Am I supposed to add the tags in the .php file responsible for the shopping cart?
Thanks in advance and I hope you will be able to help me with some answers soon.
Hi Stephen,
Never got a reply to my earlier comment, so I’m guessing you’re quite busy. Ran into something I’m hoping you can remedy.
You recall your fix for the problem of loading LocalCurrency through another plugin and the need to change a setting to have it fire last. Has worked great.
HOWEVER, I just put another WP-TableReloaded table containing LocalCurrency shortcodes in a WIDDGET on my sidebar. It’s on the same page where LocalCurrency is already – successfully — being used in a WP-TableReloaded plugin table. However, in the widget, on the sidebar, LocalCurrency won’t work.
Basically, in one table at the bottom of the page loaded by plugin, LC works. In a second table, loaded in by the same plugin, inside a sidebar widget, it doesn’t work.
Any idea why? I’m thinking the shortcode doesn’t work in a widget. I used a text widget and put just the LC shortcodes and a figure in it (no plugin) and the page that rendered showed the shortcodes.
Perhaps I don’t need a fix from you, just a different plugin to enable shortcodes in widgets or sidebar?
Any help would be appreciated.
ok really excellent plugin…
But i was working on a real estate website and was wondering how do I include into the PHP template…
All my prices are dynamically called – So i need your plugin to do its magic via the parsing of the PHP page. I tried wrapping this in PHP tahs templates , but nothing seems to work…
Can you help please…
I am typically to running a blog and i actually appreciate your content. The article has really peaks my interest. I’m going to bookmark your site and hold checking for new information.
Hello, Stephen.
I would like to use your program in custom fields like this,
http://usedcar.macvox.jp/2011/02/skyline/
but I don’t know how to do.I tried to put “force_lc” with a value of 1 but it didn’t work as I expected. It would be nice if you could give a good advice for me.
Best regards
Hi Toshirou,
I’ll have a look at this in the next few days… It’s been a while I looked at that plugin and I’m not sure whether it can do it or what would be involved in it.
For all those other who have left requests, I’ll try to get to yours as well.
Hi, Stephen.
Thank you for replying and I apologize for my late responding.
I thought if I put “force_lc” code in custom field as 1, currency selector will shows up like using “**”.
my ideal is the price in custom field could be changed with using currency selector in this page next to “本体価格(税込)”.
http://usedcar.macvox.jp/2011/02/step-wagen/
[...] LocalCurrency determines user location through their IP addresses and with the help of IP2C. Exchange rates are also updated because it is based from Yahoo Finance. This plugin uses AJAX thus converting currencies won’t require page reloads. [...]
Fantastic plugin!
I think this is the only one I can find where it allows the price to be converted on the spot beside another currency, without the need for the reader to do his own math via a plugin.
It would be nice if there was an option to lock the converted currency option though. Say, the website’s focus is Australian content, so the admin can lock converted currency to AU$ only.
^^
Thanks though
Dude, in your plugin instructions, you forgot to add the ‘!’ in the code.
So it was listed as instead of
Was wondering why it refused to work
[...] LocalCurrency 1.01 (Para birimlerini gösteren bir çeşit ticaret eklentisi) [...]
When I hit ‘Publish’ or ‘Update’ then the following code is converted from:
$10
to
$10
WordPress are adding space between ‘>’ and the ‘-’ characthers.
This seems to be the rason it’s not working
just check if you are editing in “Visual” or “HTML” view.
should be done in HTML.
When I hit ‘Publish’ or ‘Update’ then the following code is converted from:
$10
to
$10
WordPress are adding space between ‘<’ and the ‘-’ characthers.
This seems to be the rason it’s not working
1st of all, thanks for such useful plugin. need some help on:
styling, when converted the value shows up as:
MYRRM100
i would like to have:
MYR RM 100
putting price in PHP. as mentioned earlier, I also have price stored in DB, and retrieved with php.
when looking on page it shows
USD55
, but in source code:
“USD55 ”
but it is not picked up by plugin.
any guidelines? ideas, tips?
sorry, the symbols get filtered out. in the source code it shows full syntax.
ook.. if someone looks for this:
MYRRM100
i would like to have:
MYR RM 100
can be changed in localcurrency.js just add spaces in the list of currencies. not the best way, but.. hey it works.
aso.. any chance to elaborate how styling works… as my currency dropdown gets torn apart from the number… any chance to shove it into DIV
This looks great, and just what I need… the only problem is that our prices aren’t written within a blog page, but are dynamically loaded via PHP in an echo statement.
Is there a way of using your LC tags within a PHP statement? I think this may be the same question that Salim Badaku asked above.
Hi Stephen
Thank you for a brilliant plugin. I really would like to use it but it’s not working for me, I hope you can help.
I am based in the UK and have installed LocalCurrency Converter on my site. I asked a friend in the US to check to see if the prices on the Tuition page of my site are in US dollars. Although we played around with it for quite awhile (with the currency symbol, without the currency symbol etc), whenever she checked, it was always in British pounds. Effectively, it doesn’t convert.
Do you have a suggestion why this might be.
Your plugin is perfect for my site and I would dearly love to get it working.
Kind regards
Oretta
Was just wandering if this plugin can work in a template like the one im editing – http://templatic.com/demos/?theme=storefront
Stephen — thanks for the great plugin! I have a question: I’m using the plugin on a site where I’m making heavy use of custom fields. Specifically, I have a custom field “price” where I store the price of some farm equipment. The trouble is, the plugin doesn’t seem to recognize currency data outside the main post. Is there any way I could tweak the code to include the content of custom fields as well?