Problem:
How to display custom user image field using Types API or display types usermeta
Solution:
you can use same attributes for "types_render_usermeta()" function.
types_render_usermeta( "my-image", array( "alt" => "blue bird", "width" => "300", "height" => "200", "proportional" => "true", user_id => "1" ) );
You can find proposed solution in this case with the following reply:
=> https://toolset.com/forums/topic/image-display-using-types_render_usermeta-on-single-author-page-2/#post-609189
Relevant Documentation:
=> https://toolset.com/documentation/customizing-sites-using-php/functions/#image
=> https://toolset.com/documentation/customizing-sites-using-php/creating-custom-user-profiles/
This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.
Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.
Heute stehen keine Supporter zur Arbeit im Werkzeugsatz-Forum zur Verfügung. Sie können gern Tickets erstellen, die wir bearbeiten werden, sobald wir online sind. Vielen Dank für Ihr Verständnis.
Sun | Mon | Tue | Wed | Thu | Fri | Sat |
---|---|---|---|---|---|---|
- | 10:00 – 13:00 | 10:00 – 13:00 | 10:00 – 13:00 | 10:00 – 13:00 | 10:00 – 13:00 | - |
- | 14:00 – 18:00 | 14:00 – 18:00 | 14:00 – 18:00 | 14:00 – 18:00 | 14:00 – 18:00 | - |
Supporter timezone: Asia/Kolkata (GMT+05:30)
Dieses Thema enthält 2 Antworten, hat 2 Stimmen.
Zuletzt aktualisiert von vor 6 Jahren, 10 Monaten.
Assistiert von: Minesh.