Hey there,
You can try to use < code> </code > without the spaces to print code in that format.
We can try a different, approach, you mentioned that your form is present only on a single page, is that correct?
Then what if we check if the current page ID is the one where the form is added and only apply the formatting otherwise? Does that approach suffice for you?
If so, you can use the following code, only replacing the ID with the page id where the form is present, the one in which people can subscribe to courses:
add_filter('wpcf_fields_slug_arancel_value_display', 'my_price_format');
function my_price_format($value) {
if (!is_on_form_page()) {
$value = "ARS " . number_format($value, 0, ',', '.');
}
return $value;
}
function is_on_form_page() {
// Replace 'PAGE_ID' with the ID of the page where the form is located
if (is_page('PAGE_ID')) {
return true;
}
return false;
}
If this approach doesn't work or it is not enough, I would like to request temporary access (wp-admin and FTP) to your site to take better look at the issue. You will find the needed fields for this below the comment area when you log in to leave your next reply. The information you will enter is private which means only you and I can see and have access to it.
Our Debugging Procedures
I will be checking various settings in the backend to see if the issue can be resolved. Although I won't be making changes that affect the live site, it is still good practice to backup the site before providing us access. In the event that we do need to debug the site further, I will duplicate the site and work in a separate, local development environment to avoid affecting the live site.
Privacy and Security Policy
We have strict policies regarding privacy and access to your information. Please see:
https://toolset.com/purchase/support-policy/privacy-and-security-when-providing-debug-information-for-support/
**IMPORTANT**
- Please make a backup of site files and database before providing us access.
- If you do not see the wp-admin/FTP fields this means your post & website login details will be made PUBLIC. DO NOT post your website details unless you see the required wp-admin/FTP fields. If you do not, please ask me to enable the private box. The private box looks like this: hidden link
Please, let me know if you need any additional details. Have a nice day.