Skip Navigation

[Resolved] Ref : Post relationship with CPT and User

This thread is resolved. Here is a description of the problem and solution.

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 6 years, 6 months ago. 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
- 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)

This topic contains 2 replies, has 2 voices.

Last updated by marcB-6 6 years, 6 months ago.

Assisted by: Noman.

Author
Posts
#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

Languages: English (English )

Timezone: 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:
hidden link

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

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.