Skip Navigation

[Résolu] Ref : Post relationship with CPT and User

Ce fil est résolu. Voici une description du problème et la solution proposée.

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 Il y a 7 années et 1 mois. 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.

Aucun de nos assistants n'est disponible aujourd'hui sur le forum Jeu d'outils. Veuillez créer un ticket, et nous nous le traiterons dès notre prochaine connexion. Merci de votre compréhension.

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)

Marqué : ,

Ce sujet contient 2 réponses, a 2 voix.

Dernière mise à jour par marcB-6 Il y a 7 années et 1 mois.

Assisté par: Noman.

Auteur
Publications
#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

Les langues: Anglais (English )

Fuseau horaire: 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:
lien caché

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!!