Skip Navigation

[Resolved] query filter and WPML

This support ticket is created 4 years, 12 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Our next available supporter will start replying to tickets in about 0.35 hours from now. Thank you for your understanding.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Kolkata (GMT+05:30)

This topic contains 2 replies, has 2 voices.

Last updated by Minesh 4 years, 12 months ago.

Assisted by: Minesh.

Author
Posts
#1238059
3.png
2.png
1.png

Hi
this is our site:
hidden link
it is in Hebrew and English.

In the middle of the homepage, there is a search we build with View (image 1).

we create a custom field for all the articles that we name it - "article_writer"

in the View we made, we used a query filter - please look at image 2, we create the dropdown list based on the "article_writer" field.

this is the problem - Why do we see all the "article_writer" values in Hebrew AND English together? (image 3) we need to see in the Hebrew site just the names in Hebrew and in the English site Just the names in English.

#1238093

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

Well - can you please share problem URL and access details so I can check whats going wrong there.

*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin and FTP) to your site. Preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed.

I would additionally need your permission to de- and re-activate Plugins and the Theme, and to change configurations on the site. This is also a reason the backup is really important. If you agree to this, please use the form fields I have enabled below to provide temporary access details (wp-admin and FTP).

I have set the next reply to private which means only you and I have access to it.

#1238127

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

1. it to have only the Hebrew names in the Hebrew site
Well - it looks like that the issue was from cashing as you are using the WP Rocket caching plugin.

I purged the cache for all languages and I can see now dropdown select is displaying the correct languages options:
=> hidden link

2. it to translate the search engine in the middle of the home page to English so there will be only the English names in the English site
=> You need to make sure you translated those English and Hebrew dropdown select options using String Translation:
- hidden link

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.