I would like to be able to reference the Company and Company URL fields in my template. I’m familiar with get_user_meta, but have not had success guessing at the correct syntax. I’m using the free version, fyi. My best guess that failed was: echo get_user_meta( $authorid, 'ts_fab_Company', true);
So, you’d need to do echo get_user_meta( $authorid, 'ts_fab_company', true); to display the company. And to make sure value of $authorid variable is an actual user ID.
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘How to get_user_meta( company_url)’ is closed to new replies.