Hi guys,
I have another question regarding CPTs and Loopers.
Here’s the Setup:
CPT called Players with a taxonomy field called Customer Type (with Terms: Player, Elite, Club)
I show the data from the Players CPT to the Logged in User by this structure:
- Looper Provider Query Builder (Posts = Players) with meta values: parent_email = {{dc:user:email}}
- Looper Consumer to display the Player Content
Then…
CPT called Training Sessions which has repeaters for the training times of each of the 3 customer types (Player, Elite, Club)
I show the Training Session times by using the following structure:
(Row)
-
Looper Provider Query Builder (Posts = Training Session)
-
Looper Consumer to display the Training Session
-
Looper Provider Dynamic Content
{{dc:acf:post_field field="player_weekly_training_sessions"}}
-
Looper Consumer to display the Player Weekly Training times
-
Looper Provider Dynamic Content
{{dc:acf:post_field field="player_specific_training_sessions"}}
-
Looper Consumer to display the Special Date Training times
-
(Row)
-
Looper Provider Query Builder (Posts = Training Session)
-
Looper Consumer to display the Training Session
-
Looper Provider Dynamic Content
{{dc:acf:post_field field=“elite_weekly_training_sessions"}}
-
Looper Consumer to display the Elite Weekly Training times
-
Looper Provider Dynamic Content
{{dc:acf:post_field field=“elite_specific_training_sessions"}}
-
Looper Consumer to display the Special Date Training times for Elite
-
(Row)
-
Looper Provider Query Builder (Posts = Training Session)
-
Looper Consumer to display the Training Session
-
Looper Provider Dynamic Content
{{dc:acf:post_field field=“club_weekly_training_sessions"}}
-
Looper Consumer to display the Club Weekly Training times
-
Looper Provider Dynamic Content
{{dc:acf:post_field field=“eclub_specific_training_sessions"}}
-
Looper Consumer to display the Special Date Training times for Club
-
I want to show only the Row that matches the Term set for the User in the Players CPT (ie: Player, Elite, Club).
Can you please help me with this? I can’t seem to get any Condition to work for me.
Thanks,
Darren.