Skip Navigation

[Résolu] Checkbox custom fields not staying selected in wp-admin post editor

Ce fil est résolu. Voici une description du problème et la solution proposée.

Problem: Checkbox custom fields are not staying selected in the post editor, and sometimes I see an error related to a parent post field even though I did not modify that field.

Solution: Update to the latest version of Types.

This support ticket is created Il y a 6 années et 5 mois. 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.

Aucun de nos assistants n'est disponible aujourd'hui sur le forum Jeu d'outils. Veuillez créer un ticket, et nous nous le traiterons dès notre prochaine connexion. Merci de votre compréhension.

Sun Mon Tue Wed Thu Fri Sat
8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 - -
13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 - -

Supporter timezone: America/New_York (GMT-04:00)

Marqué : 

Ce sujet contient 16 réponses, a 3 voix.

Dernière mise à jour par Christian Cox Il y a 6 années et 3 mois.

Assisté par: Christian Cox.

Auteur
Publications
#947800

There are two different ways to display custom field values. The first way uses the Types field shortcode like this:

[types field="order-events-set-2-presenter-4" output="raw"][/types]

The second way uses the wpv-post-field shortcode like this:

[wpv-post-field name="wpcf-order-events-set-2-presenter-4"]

The main things to note about this field are:
- you must use the wpcf- prefix with your field slug
- the raw value will be returned with no additional formatting applied

We have documentation available here:
https://toolset.com/documentation/user-guides/views-shortcodes/#wpv-post-field

Types 3.0.4 is now available for download or automatic update.

#947807

Thank you for this response. I was able to get it to work properly with that documentation.

Have a great day!

#1081363

Our developers have let me know that the issue with Types fields shortcodes displaying empty space instead of 0 will be resolved in Types 3.1, due in the next few weeks.