Skip Navigation

[Resuelto] Displaying gallery of PostField Images in view, inserted in single post template

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

Problem:

The issue here was that the user had a repeated field in Types and wanted to display the value of those fields on the frontend

Solution:
In this case you will need to use this shortcode here only and not a view.
https://toolset.com/documentation/user-guides/views-shortcodes/#wpv-for-each

This support ticket is created hace 6 años, 11 meses. 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
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 14:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Jamaica (GMT-05:00)

Este tema contiene 3 respuestas, tiene 2 mensajes.

Última actualización por eWeb hace 6 años, 11 meses.

Asistido por: Shane.

Autor
Mensajes
#602970

Tell us what you are trying to do?
Make gallery with images from Post Field's Image (several of them), from exact post

Is there any documentation that you are following?
General documentation on Post relationship

Is there a similar example that we can see?
enlace oculto - that's single item's page. It has Content Template with item's Featured Image in the left and other Info on the right.
Thev Image view called "Masonry" is on bottom, under Content Template in the same Layout.
If filters are off - View shows all Images from all posts of this type, as it is now.
Tried to add "Post Parent" filter - Parent is the page where this View is shown, or Parent is the current post in the loop does not help. The same is with "Post Relationship" filers - did not found any working combo.
What do i miss here? Could you please advise me, where to look?
Thank you.

What is the link to your site?
enlace oculto

#603031

Shane
Supporter

Idiomas: Inglés (English )

Zona horaria: America/Jamaica (GMT-05:00)

Hi Birute,

Would you mind providing me with admin access to the website so that I can have look at this for you ?

Thanks,
Shane

#603170

Shane
Supporter

Idiomas: Inglés (English )

Zona horaria: America/Jamaica (GMT-05:00)

Hi Birute,

Thank you I was able to see the issue here. Its because you are using a view to display the items and a view is used to display a lift of multiple posts.

In this case you will need to use this shortcode here only and not a view.
https://toolset.com/documentation/user-guides/views-shortcodes/#wpv-for-each

This will allow you to loop through each individual photo for that specific post.

Please let me know if this helps.

Thanks,
Shane

#603176

Hi Shane,
That is exactly what I need, how i did miss this one 🙂
Thank you very much for quick answer!
I really appreciate it.
Wish a good year to you!