Saltar navegación

[A la espera de la opinión de los usuarios] View matching type field to logged in user

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 -

Zona horaria del colaborador: Asia/Kolkata (GMT+05:30)

Este tema contiene 1 respuesta, tiene 1 mensaje.

Última actualización por Minesh 3 days, 1 hours ago.

Asistido por: Minesh.

Autor
Mensajes
#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? enlace oculto

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
Colaborador

Idiomas: Inglés (English )

Zona horaria: 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?