Skip Navigation

[Resuelto] Use an image field file from users into a post type automatically

Este hilo está resuelto. Aquí tiene una descripción del problema y la solución.

Problem: On each post, I would like to display an image from a custom field in the post author's profile.

Solution: Use the Fields and Views button to insert the custom field, and use the User Selection tab to specify you want to display information from the post author.

Relevant Documentation:
https://toolset.com/documentation/customizing-sites-using-php/functions/

This support ticket is created hace 5 años. There's a good chance that you are reading advice that it now obsolete.

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.

Hoy no hay técnicos de soporte disponibles en el foro Juego de herramientas. Siéntase libre de enviar sus tiques y les daremos trámite tan pronto como estemos disponibles en línea. Gracias por su comprensión.

Sun Mon Tue Wed Thu Fri Sat
8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 - -
13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 - -

Supporter timezone: America/New_York (GMT-04:00)

Este tema contiene 2 respuestas, tiene 2 mensajes.

Última actualización por israelP hace 5 años.

Asistido por: Christian Cox.

Autor
Mensajes
#1378247

I added a custom user field, which is an "image" type used to upload a signature file in .jpg when a user registers..

I would like that "image" to apper automatically in every post type that the user creates. Users can create as many post types as they want, but that image in his registration data must appear automatically in his/her post types from the users data.

How can I get it, please?

#1378249
Screen Shot 2019-11-07 at 12.23.49 PM.png

Hi, if you have a Content Template for this post type, you can add the custom image field of the post author by clicking "Fields and Views" above the main content editor. Choose the custom User field you want to display, and then in the popup you can choose which User's photo you want to display in the User Selection tab (see attachment). Choose the author of the current post to display the author's custom image on every post in this post type. You can do the same in archives and Views to display the author's custom image field wherever this post is displayed.

Let me know if that doesn't solve the problem and I'll take a closer look.

#1380223

My issue is resolved. Thank you!