
l.mavromatis(@l-mavromatis)
2 Posts
Customers
Quote from l.mavromatis on May 28, 2024, 14:24
Hi,
I'm evaluating the free version of your plugin to see if it meets my needs so I will buy the pro version. Unfortunately, I can't apply the $value = apply_filters('wpcs_exchange_value', $value); filter on a custom field within a post type, which would allow me to change the currency displayed in that field.
Specifically, I have a custom field named "price" in the directory plugin. Ideally, I'd like a way to change the currency for this field and have the update reflected on all single post and archive pages.
Is there a way to achieve this?
Thanks in advance, Leonidas
Hi,
I'm evaluating the free version of your plugin to see if it meets my needs so I will buy the pro version. Unfortunately, I can't apply the $value = apply_filters('wpcs_exchange_value', $value); filter on a custom field within a post type, which would allow me to change the currency displayed in that field.
Specifically, I have a custom field named"price" in the directory plugin. Ideally, I'd like a way to change the currency for this field and have the update reflected on all single post and archive pages.
Is there a way to achieve this?
Thanks in advance, Leonidas

Pablo Borysenco(@pavlo_borysenco)
34,196 Posts
Quote from Pablo Borysenco on May 29, 2024, 10:46
Hello Leonidas
Describe in more detail what exactly didn’t work for you. Post your code here
If you have no programming experience, you should hire a developer
Hello Leonidas
Describe in more detail what exactly didn’t work for you. Post your code here
If you have no programming experience, you should hire a developer

l.mavromatis(@l-mavromatis)
2 PostsTopic Author
Customers
Quote from l.mavromatis on May 29, 2024, 11:24
Hi,
Sory if I didnt explain well I will try again:
I am using Directories plugin from where I create custom field for example "property_price". My problem is that on the directories listing and single directory page, the content is displayed through a shortcode. Is there a way to target the "property_price" custom field value so that when I change the currency, the value of this field changes for all listings?
So far in part of codes where I am using custom shortcode to display specific properties the filter to make the value exchangable is working fine "$formatted_price = apply_filters('wpcs_exchange_value', $formatted_price);" but is targeting only the properties related to this shortcode.
Hope this clarifies the issue better.
Thanks,
Leonidas
Hi,
Sory if I didnt explain well I will try again:
I am using Directories plugin from where I create custom field for example"property_price". My problem is that on the directories listing and single directory page, the content is displayed through a shortcode. Is there a way to target the"property_price" custom field value so that when I change the currency, the value of this field changes for all listings?
So far in part of codes where I am using custom shortcode to display specific properties the filter to make the value exchangable is working fine"$formatted_price = apply_filters('wpcs_exchange_value', $formatted_price);" but is targeting only the properties related to this shortcode.
Hope this clarifies the issue better.
Thanks,
Leonidas

Pablo Borysenco(@pavlo_borysenco)
34,196 Posts
Quote from Pablo Borysenco on May 29, 2024, 12:32
You need code customization. Customizing the display template for these custom fields
You need code customization. Customizing the display template for these custom fields