Skip Navigation

[Resuelto] Display a custom field based on another custom field value

This support ticket is created hace 5 años, 10 meses. 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.

Hoy no hay técnicos de soporte disponibles en el foro Juego de herramientas. Siéntase libre de enviar sus tiques y les daremos trámite tan pronto como estemos disponibles en línea. Gracias por su comprensión.

Sun Mon Tue Wed Thu Fri Sat
8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 - -
13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 - -

Supporter timezone: America/New_York (GMT-04:00)

Este tema contiene 1 respuesta, tiene 1 mensaje.

Última actualización por Travis hace 5 años, 10 meses.

Asistido por: Christian Cox.

Autor
Mensajes
#1195573

We have a custom post type for our agent sales called Reservations. Each post contains the agent's name, email, total sales and a few other sales figures specific to that agent. We import a CSV file with the sales data to keep it up to date.

We're trying to display the agent's sales data on the frontend in their custom agent dashboard.

I've tried to display the field using a conditional statement (if agent email = current user email, display field) but that's not working.

Can you provide some ideas/suggestions for how to display the agent sales field when the agent's email address matches the corresponding agent email for that custom post type?

Thank you very much!

#1195611

My issue is resolved now. I created a custom shortcode. Thank you!