Archived topic
GTranslate and GP issue for widget display
2 replies · Started by Steven on February 24, 2023
Hi,
We're using GTranslate 2.9.15, GP Premium 2.2.2, and WP CORE 6.1.1. When we use a GP Element to inject a shortcode for the GTranslate widget, it works for English (https://cob.org). However, after a different language is selected using the widget in the top right of the site, the widget disappears. It's like the GP Element display condition of Entire Site isn't including the translated pages that are presented under subdirectories (e.g. https://cob.org/es/). Further, the issue of the widget not being displayed only appears for anonymous site visitors. When a site editor is logged in, there isn't an issue with displaying the widget on all pages. We're using a custom hook for the element (hook = generate_before_header). We tried clearing all caches as well.
Thanks for any help you can send our way.
Hmm - this seems like a caching issue, even though we purged all available caches. We'll update this if we find out it's not caching.
No problem, i hope its fixed. Let us know if not !