• Resolved ashleynwoods

    (@ashleynwoods)


    I want to add a members’s company name and website address associated to their profile to a custom post type result. How do I display that data?

Viewing 1 replies (of 1 total)
  • Plugin Author Chad Butler

    (@cbutlerjr)

    Programmatically you can use WP’s get_user_meta() function to retrieve the value.

    Or, if it’s something you’re displaying on the site, you can use WP-Members’ [wpmem_field] shortcode.

    Either way, all custom fields are stored as user meta fields. So you would retrieve the data based on that field’s meta key regardless of which of the above is used.

    If you’re not sure of the meta key of the field, you can get that info from the plugin’s Fields tab.

    • This reply was modified 7 years, 8 months ago by Chad Butler.
Viewing 1 replies (of 1 total)

The topic ‘Display field infomation’ is closed to new replies.