Price field and text field format (MyHome Wordpress Theme)

WordPress
August 06, 2019 09: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
August 06, 2019 09:38:23
E2Pdf
Topics: 7
Messages: 3617
Support
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!
Get News and Updates
Our monthly newsletter keeps you in the loop, so you'll always be up to date with the latest news and updates about E2Pdf.
* You can update your email subscription preferences here.
All trademarks, service marks, trade names, product names, and logos appearing on this website are the property of their respective owners. The use of trademarks such as Formidable Forms®, Forminator Forms®, Gravity Forms®, JetFormBuilder®, WordPress®, WooCommerce®, WPForms® and others is solely for identification purposes (nominative use) and does not imply any affiliation, sponsorship, or endorsement by the respective trademark holders.
© 2017 - 2026, https://e2pdf.com

We use cookies to collect and analyse information on site performance and usage, to provide social media features and to enhance and customise content and advertisements. By clicking "Accept Selected", you consent to use of selected cookies according to our Cookie Policy.