WordPress.org

Ready to get started?Download WordPress

Forums

Custom Content Type Manager
user field and usermeta details (2 posts)

  1. jcrea
    Member
    Posted 1 year ago #

    I'm using the "user" field to list users from my database and then outputting the selected user in an area of the post. This is working fine, however I'm looking for a way for the output filter to also display certain custom meta values that I have added to the usermeta table.
    Any help would be appreciated.
    Thanks.

    http://wordpress.org/extend/plugins/custom-content-type-manager/

  2. fireproofsocks
    Member
    Plugin Author

    Posted 1 year ago #

    The userinfo output filter allows you to get basic user data -- I don't think it gives you access to the extended user fields. http://code.google.com/p/wordpress-custom-content-type-manager/wiki/userinfo_OutputFilter

    But it's all just convenience functions here -- everything that's done with the CCTM's output filters can be done without them. The userinfo output filter, for example, is just a wrapper around WordPress' get_user_by() function:

    get_user_by('id', $user_id_here);

    So the task becomes getting user meta data with the user's id.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.