I'm trying to display an author image (custom user meta field not created/managed by Types) via the following, how would I do that with types_render_usermeta_field?
I'm sorry for the late response.
I am also experiencing some problems with displaying user meta fields.
I would like to check this with our developers.
I'll get back to you as soon as possible on this matter.
Indeed 'types_render_usermeta_field' render only user fields created by Types.
If you want to display WP default user fields with Toolset plugins you use any of the 'User basic data' shortcodes.
You can insert them through the Fields and Views button inline in any post or through Views or Content Templates.
Please see the attached screenshot user-basic-data-fields.jpg
Please let me know if you have further questions regarding the issue mentioned in this thread.
In my last reply, I forgot to mention another possibility.
You can convert non-Types fields to work with Types, but anything that is not a "simple" field will probably break.
This is because a plugin might store special fields (arrays and such) in a specific mode that Types cannot control.
In any case to do that go to:
Toolset => Post/User fields => Post/User Fields Control
From there you turn any field not managed by Types to a field that is managed by Types.
Thanks. I hoped to be able to use the various Types render image format features for an already existing image user meta field. I guess that's not possible then though.
Please acknowledge that radios fields, select fields, checkboxes fields, date fields, etc, have specific formats in different plugins.
So anything that is not a string or a number will be probably be broken after bringing those fields under Types Control.
If you can not find the Custom Field’s in Toolset > Post Fields/User Fields > Fields Control, it’s because those fields are not stored as default WordPress Custom fields (post_meta or user_meta), and Types can’t find them most probably because those are stored in a custom table in the DataBase.
I suggest that you will try to add Types rendering for that field only after you have backed up your site or do it from a staging/development site. Not on a live site.
Please let me know if you have further questions regarding the issue mentioned in this thread.
Itamar.
This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.