Display the zero value from ACF backend to frontend
-
Hello, when using ACF in the backend and filling out numeric or text fields with a single value of zero, nothing is displayed on the frontend. What I want to achieve is that if I write “zero” in the field, it should display “zero,” but if I don’t write anything, nothing should be displayed on the frontend. How can I solve this issue?
Product evaluation example:
Backend value acf_field = 2 Frontend value = 2/10
Backend value acf_field = 5 Frontend value = 5/10
Backend value acf_field = 0 Frontend value = /10
It should be like that:
Backend value acf_field = 0 Frontend value = 0/10
Backend value acf_field = Frontend value = /10Thank you so much
- The topic ‘Display the zero value from ACF backend to frontend’ is closed to new replies.