Problem:
Custom multiple instance field, the "index" attribute does not work.
[types field="testfield" index="1"][/types] shortcode in content template
I expected to see: single value
Instead, I got: all values
Solution:
It should be a bug of Types beta plugin.
Currently, please try Views shortcode instead of Types shortcode, for example:
[wpv-post-field name="wpcf-testfield" index="1"]
Relevant Documentation:
https://toolset.com/documentation/user-guides/views-shortcodes/#wpv-post-field
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 |
---|---|---|---|---|---|---|
- | 9:00 – 13:00 | 9:00 – 13:00 | 9:00 – 13:00 | 9:00 – 13:00 | 9:00 – 13:00 | - |
- | 14:00 – 18:00 | 14:00 – 18:00 | 14:00 – 18:00 | 14:00 – 18:00 | 14:00 – 18:00 | - |
Supporter timezone: Asia/Hong_Kong (GMT+08:00)
Este tema contiene 3 respuestas, tiene 2 mensajes.
Última actualización por hace 6 años, 9 meses.
Asistido por: Luo Yang.