Saltar navegación

[Resuelto] Field in Views doesn't get returned

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Zona horaria del colaborador: Asia/Kolkata (GMT+05:30)

Este tema contiene 1 respuesta, tiene 2 mensajes.

Última actualización por Minesh 1 year, 8 months ago.

Asistido por: Minesh.

Autor
Mensajes
#2779011
Screenshot 2024-10-23 125033.png
Screenshot 2024-10-23 124321.png

I am trying to:
Create a loop to return values from the CPT "Speisen". All other fields are working correctly but the price field gets returned empty

Link to a page where the issue can be seen:
enlace oculto
the output is on:
enlace oculto
under the Title "Unsere Favoriten"
I expected to see:
the value of "speise-preis"

Instead, I got:
empty field

#2779024

Minesh
Colaborador

Idiomas: Inglés (English )

Zona horaria: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

Can you please check now: enlace oculto

I see you set the field to save as number field but the value you added is like: 12,90 that is not the number format and that is why its not displaying the value using the Types shortcode:

[types field='speise-preis'][/types]

To make this work, I've replaced the above shortcode as given under:

[wpv-post-field name="wpcf-speise-preis"]

Can you please confirm it works as expected now.

#2779044

Yes it works