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)
This topic contains 3 replies, has 2 voices.
Last updated by 6 years, 9 months ago.
Assisted by: Luo Yang.