Forums › Forums › Search & Filter Pro › Translated filter results only visible after refresh?
Tagged: filter results translate wpml
- This topic has 12 replies, 2 voices, and was last updated 5 years, 1 month ago by Trevor.
-
Anonymous(Private) September 9, 2019 at 12:11 pm #220495
Hi,
I have a problem with filter results in the second language https://uniiq.nl/en/portfolio/I did everything as stated in this topic: https://support.searchandfilter.com/forums/topic/filter-result-2/
– use a shortcode in a proper page in the first language
– create a page with both shortcodes (form and display results)
– translate form and page in a second language with WPMLAfter filtering, or using ‘Reset filter’ blank results are shown. However, when I refresh then, results are shown anyway. Really funny?
What can be done to repear this?Page is https://uniiq.nl/en/portfolio/
Thanks in advance,
ArianeTrevor(Private) September 11, 2019 at 2:43 pm #220758OK. I can see what is going wrong, but I do know enough of your theme/plugins to where the fix might be.
The results grid is using Masonry (Isotope), and, to give the appearance of fading the results in and out, the theme or plugin that controls the results grid has this in the CSS when the page loads:
.js_active .grid-image { opacity: 0; }
This hides the Portfolio Image links.
When the posts have loaded, each post has its opacity set to 1 to reveal them. This also always happens when the page first loads.
This is happening on the standard language, but not on the second language (English). I suspect that this is because the JavaScript is expecting to work on the portfolio page URL, but is not expecting to see
en/
in the URL. -
AuthorPosts