Passer la navigation

[Résolu] Field in Views doesn't get returned

This support ticket is created Il y a 1 year, 8 months. There's a good chance that you are reading advice that it now obsolete.

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 -

Fuseau horaire du supporter : Asia/Kolkata (GMT+05:30)

Ce sujet contient 1 reply, a 2 voix.

Dernière mise à jour par Minesh Il y a 1 year, 8 months.

Assisté par: Minesh.

Auteur
Publications
#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:
lien caché
the output is on:
lien caché
under the Title "Unsere Favoriten"
I expected to see:
the value of "speise-preis"

Instead, I got:
empty field

#2779024

Minesh
Supporter

Les langues: Anglais (English )

Fuseau horaire: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

Can you please check now: lien caché

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