1. I have a post type called 'event'
2. with a wysiwyg custom field 'event-data'
3. inside that wysiwyg field is a view displaying child posts of the parent event
4. then i have a view of the parent event and in the loop i want to display the content of that wysiwyg field
if I add that custom field to the event post content template the view inside that field displays fine
however if i add that custom field to a view loop of event posts nothing is displayed though the view recognises that the field exists and has content. it just doesn't display the content in the loop
does that make sense?
Hi,
Thank you for waiting and I apologize for the delay in getting back on this.
During testing on my website, I was able to reproduce this behavior only if the "The post where this View is shown" option is selected in the query filter of the view that shows the related tickets.
( screenshot: hidden link )
When a view with this option is called from a WYSIWYG field in a single event post page, it shows the related tickets correctly, but not if this WYSIWYG field is added in a loop of another view that shows the Events.
If you'll change the query filter option to "The current post in the loop" in the view that shows the related tickets, it will show the results correctly in both cases (i.e. in the single events as well as the loop of the view that shows events).
I hope this helps and please let me know if you need any further assistance around this.
regards,
Waqar
Genius... That works!
Thank you very much indeed for taking the time to help me Waqar.