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.
I have a site built with Divi and Toolset in Spanish, and I am translating it into English using WPML. My custom taxonomies have image fields that display correctly in Spanish but do not load in the translated English version. The image source attribute is empty in the English pages.
Solution:
Ensure that the custom taxonomy fields for images are set to "translatable" in WPML > Settings > Custom Fields Translation. Then, assign the translated images in WPML > Taxonomy Translation. Additionally, check WPML > Settings > Media Translation, enable all options, and run the process to ensure media files are available in all languages.