Skip Navigation

[Resuelto] Ref : Post relationship with CPT and User

Este hilo está resuelto. Aquí tiene una descripción del problema y la solución.

Problem:
How to display selected company name below user?

Solution:
Using this shortcode:

[wpv-post-title id="[types usermeta='working-at-member' output='raw'][/types]"]
This support ticket is created hace 7 años, 1 mes. 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
- 12:00 – 17:00 12:00 – 17:00 12:00 – 17:00 12:00 – 17:00 12:00 – 17:00 -
- 18:00 – 21:00 18:00 – 21:00 18:00 – 21:00 18:00 – 21:00 18:00 – 21:00 -

Supporter timezone: Asia/Karachi (GMT+05:00)

Etiquetado: ,

Este tema contiene 2 respuestas, tiene 2 mensajes.

Última actualización por marcB-6 hace 7 años, 1 mes.

Asistido por: Noman.

Autor
Mensajes
#577251
Screenshot_31.png

Hi Minesh,

To display selected company name below user I have written following code.

[types usermeta='working-at-member' show_name="true"][/types]

But, It is displaying id of "member" and the field label.How to hide "Working at member"?

How to display company name of user?

Thanks

#577291

Noman
Supporter

Idiomas: Inglés (English )

Zona horaria: Asia/Karachi (GMT+05:00)

Hi Marc,

Thank you for reaching out to us. I have replaced the shortcode with this:

 [wpv-post-title id="[types usermeta='working-at-member' output='raw'][/types]"]

Now its working good I think:
enlace oculto

Right now its working based on your existing Query filter that you have added already in the View:
wpcf-working-at-member is a number equal to VIEW_PARAM(workingid)

Thank you

#577318

It is working..Thanks!!