matteoM-6
Admite hilos creados en los últimos 30 días: 0
Debates favoritos del foro
Este usuario no tiene debates favoritos.
Temas del foro creados
| Status | Debate | Supporter | Voces | Mensajes | Caducidad |
|---|---|---|---|---|---|
|
View not showing correct information
Iniciado por: matteoM-6
en: Toolset Professional Support
Problem: I have two Views displaying different custom fields of a case study. The first View (Hero) works correctly, but the second View (Credits) is displaying data from a different post instead of the current case study. The Views are configured the same way, so I don’t understand why one works and the other doesn’t. Solution: In the Template section of the Credits View, use the shortcode [types field='credits' item='$current_page'] to ensure the field pulls data from the current page instead of another post. This issue occurs because when a View is placed directly on a page, it does not automatically inherit the post context like it would in a post template. Generating the shortcode via the Fields and Views button ensures the correct attributes are included. |
|
1 | 8 | 1 year, 4 months ago |