Price field and text field format (MyHome Wordpress Theme)

WordPress
6 August, 2019 02:17:37
nunos
Topics: 9
Messages: 29
Good morning,

Is it possible to format a price field? I have a price that is showing up on wordpress as 120,000. When picking it up with E2Pdf it will show as 120000 (without the comma separator). Can i format it once in E2Pdf?

Is it also possible to remove the text formatting from Wordpress content field? When picking it up with the map field option [post_content] the heading code is showing up together with the text.

Thanks,
Nuno Silva
6 August, 2019 02:38:23
E2Pdf
Support
Topics: 7
Messages: 3156
Hi,

To fomat number you can use [e2pdf-format-number] shortcode. Example: [e2pdf-format-number decimal="2" dec_point="."]10000000[/e2pdf-format-number]

To remove text "formatting" you can try to wrap [post_content] with [e2pdf-format-output] with strip_tags filter. Example: [e2pdf-format-output filter="strip_tags"][post_content][/e2pdf-format-output]

We remain at your service.
We would really appreciate your feedback at WordPress.org!