hansgaita
Forum Replies Created
-
Same problem here with version 2.00: I see the left and right arrows while editing in the Visual Builder, but when I leave it and go to the public page, the arrows are missing (!?). I had to roll back to version 1.2.14… ??
Forum: Plugins
In reply to: [WPCS - WordPress Currency Switcher Professional] How can I round the prices?Thanks again, @realmag777, but I’ve tried and it doesn’t work for me… ?? Can it be due to the fact that we are using a different version of PHP (I am with 8.0) or some other system configuration?
I have been checking how the “switch” statement works in PHP and, as far as I can judge, your code should work. However, it doesn’t and the dollar price shown with the info icon also gets rounded off, together wit the price in argentine pesos, no matter what I do.
Thanks anyway, I hope that at least this whole thread can help others who need to round their figures in WPCS.
Forum: Plugins
In reply to: [WPCS - WordPress Currency Switcher Professional] How can I round the prices?Thank you, @realmag777, but it didn’t work… The price in USD keeps still rounding.
Forum: Plugins
In reply to: [WPCS - WordPress Currency Switcher Professional] How can I round the prices?Thanks for your help. I managed to round to 100 using following code:
add_filter(‘wpcs_price’, function($price) {
return $price = round($price / 100, 0) * 100;
});But now I have the problem that the hook also rounds to 100 the price in the default currency.
USD 35 -> ARS 20900 (rounded from ARS 20801)
appears as
USD 100 -> ARS 20900 (with both prices rounded)Is there some way to limit the rounding only to the converted currency, leaving the original value in USD untouched? Thanks in advance.
Forum: Plugins
In reply to: [Simple Download Monitor] How can I show downloads with a certain tag?Yes, I know, but what I need is to show downloads BY TAG. That was my question. Is there any way to accomplish it? Thanks in advance.
Forum: Plugins
In reply to: [ReOrder Posts within Categories] Latest Update doesn’t solve Fatal Error?Qué bueno que te guste el sitio!
And thank you very much for solving the problem so quickly. Now, with this new update, it works hassle free. ??