gzsdev
Forum Replies Created
Viewing 2 replies - 1 through 2 (of 2 total)
-
Forum: Plugins
In reply to: [Custom Content Shortcode] Pass field withi include on User LoopSorry,
I fixed it, I was just missing a “-”
[-pass field=adminsitrators] [users include='{-FIELD}'] Admin: [user] Contact: [user email] [/users] [/-pass]
Forum: Plugins
In reply to: [Custom Content Shortcode] Filter by custom field = current_userHi,
I tried to display my need. I got all I want to display, unless one thing I do not know how to do..
May need some help on this one..I would like to make the users include dynamic to pass the value of my ACF field “administrators”. This code following display want I want for this user.. But I need to make it dynanmic.. I’m awaiting many more users..
[pass user_field=ID] [loop type=page_clubs] [if field=adminsitrators value='{USER_FIELD}'] <table style="min-width:100%"> <thead> <tr> <th>Logo</th> <th>Nom du club</th> <th>Code Postal</th> <th>Ville</th> <th>Administrateurs</th> </tr> </thead> <tbody> <tr> <td style="max-width: 10em">[field image]</td> <td>[field title]</td> <td>[field zip_code]</td> <td>[field city]</td> <td> [field adminsitrators] [users include=11,12,3] Admin: [user] Contact: [user email] [/users] </td> </tr> </tbody> </table> [/if] [/loop] [/pass]
If someone can help on this one. I take it !
Regards from Paris.
Chris
Viewing 2 replies - 1 through 2 (of 2 total)