Problem:
The wpcf-users will have multipe email addresses - I am trying to create a loop where if current user's email mathces any one of the email addresses the post title will appear - however at the moement it only appears if the current users email matches the 1st instance of wpcf-use and not the nth instance.
Solution:
Please try [wpv-for-each] shortcode, for example:
https://toolset.com/forums/topic/mathcing-post-field-called-with-current-user/#post-1205953
Relevant Documentation:
https://toolset.com/documentation/user-guides/views-shortcodes/#wpv-for-each
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 2 replies, has 2 voices.
Last updated by 5 years, 9 months ago.
Assisted by: Luo Yang.