Passer la navigation

[En attente du retour de l'utilisateur] View matching type field to logged in user

This support ticket is created Il y a 3 days, 4 hours. There's a good chance that you are reading advice that it now obsolete.

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
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Fuseau horaire du supporter : Asia/Kolkata (GMT+05:30)

Ce sujet contient 1 reply, a 1 voix.

Dernière mise à jour par Minesh Il y a 3 days, 1 hours.

Assisté par: Minesh.

Auteur
Publications
#2822940
Capture.JPG

Tell us what you are trying to do? match type field to logged in user

Is there any documentation that you are following?

Is there a similar example that we can see?

What is the link to your site? lien caché

I have a conditional in a view and want to show content based on the logged in user.

This only works if the Display Name (WP) is the same as the username. Otherwise, if the Display Name is the nickname or first/last name, it grabs that for the username. How can I target the username of the logged in user regardless of the other user settings?

#2822962

Minesh
Supporter

Les langues: Anglais (English )

Fuseau horaire: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

Do you mean the field you have "member-listing-management-user" holds the same value as the WordPress username and you want to check if WordPress username equal to custom field value "member-listing-management-user" then you want to display the edit link?