WordPress.org

Forums

Fancier Author Box by ThematoSoup
[resolved] How to get_user_meta( company_url) (3 posts)

  1. diverchrisfl
    Member
    Posted 2 years ago #

    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);

    http://wordpress.org/extend/plugins/fancier-author-box/

  2. Dragan Nikolic
    Member
    Plugin Author

    Posted 2 years ago #

    Our developer will not be available for a few more days. Hope you are not in a hurry.

    Cheers

  3. Slobodan Manic
    Member
    Plugin Author

    Posted 2 years ago #

    Hi,

    Sorry you had to wait. The fieds are:

    ts_fab_company
    ts_fab_company_url

    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.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Fancier Author Box by ThematoSoup
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic