Home › Toolset Professional Support › [Resolved] wp-for-each-not working
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.
Tagged: Views, Views plugin
This topic contains 1 reply, has 2 voices.
Last updated by Luo Yang 9 months, 2 weeks ago.
Assigned support staff: Luo Yang.
I try to get a list of related posts created from a list of ID in a repeatable field but I only get a list of the same post
English (English )
Chinese (Simplified) (简体中文 )
I have tried these codes in my localhost, it works fine:
<ol>[wpv-for-each field="wpcf-list-of-id"]<li>[wpv-post-title item='[types field="list-of-id"][/types]']</li>[/wpv-for-each]</ol>
Please replace "list-of-id" with your custom repeatable field slug.
Known issues and solutions
Frequently asked support questions
Support tickets archive
Get help from experienced contractors
Meet Toolset support team
Toolset Customer Support Policy
Need to tell us something about the quality of support
How to remove personal information from your database for support