[Resolved] Jetengine custom posts queries working for some lanuages
This thread is resolved. Here is a description of the problem and solution.
Problem: The client is using JetEngine custom post queries on a multilingual site. The queries work for German, Spanish, and Russian, but not for French or Italian translations.
Solution: We recommend going to the Listing in either French or Italian and re-saving it. This action was confirmed by Crocoblock as a solution and worked for the client, resolving the issue for both languages. After re-saving the listings and Smart filters, all items displayed correctly across the site.
If this solution does not resolve your issue, or if it seems outdated or irrelevant to your case, please check the related known issues and confirm that you have installed the latest versions of themes and plugins. If the problem persists, we highly recommend opening a new support ticket with us for further assistance at WPML support forum.
This is the technical support forum for WPML - the multilingual WordPress plugin.
Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.
Background of the issue:
I am using JetEngine custom post queries on a site under development. The queries work for some languages but not others. For German, Spanish, and Russian, the queries fetch the correct posts. However, no posts are fetched for French or Italian translations. Example URLs: hidden link and hidden link. You will require a login to view the page. See the attached screenshot. I am following this documentation: hidden link
Symptoms:
JetEngine custom post queries are not fetching posts for French or Italian translations.
Questions:
Why are JetEngine custom post queries not fetching posts for French or Italian translations?
How can I ensure that JetEngine custom post queries work for all languages, including French and Italian?
I've investigated in much detail and looks like the problem is with only Italian query for these tech partner posts. For example, even if you check the archive itself at hidden link, you'd notice that it returns nothing for Italian (not even by changing the selection - checkboxes). However, if you switch to any other language, for example Spanish (hidden link), it works just fine.
I've tried many things, including deleting Italian translation for the loop item and translating again, checking query in detail and relevant settings/configs.
I need some more time, so I can reproduce it in another environment and check with my team. I 'll get back to you on Monday.
I investigated further and tried to reproduce the problem in my local without any luck.
So I've prepared a fresh sandbox site at hidden link (one-click login). Here I've added your theme, related plugins, Tech Partners post type and taxonomies with a few sample ones (and translated).
I've tried my best to replicate the basic setup as your staging site. However, I'll request to create those queries and templates to reproduce the problem.
And meanwhile you do it, please note down the steps for me, so I can then retry and understand the difference. We'll also be able to understand if this issue is only happening in your site (i.e. a DB or environment specific) or can be reproduced elsewhere.
Please let me know when you're ready.
FYI,I installed a plugin in your site to enable download links for themes and plugins. So if you need to add any other plugin/theme, you can simply go to your Plugins or Themes page, click the download link and then upload the zip file in the sandbox by going to Plugins/Themes -> Add New page respectively.
I've escalated the issue to our 2nd tier team for a detailed investigation. This may take some time, however, I'll get back to you as soon as there's some progress.
I don't think that's necessary for now. If it's needed our team 'll suggest otherwise, or our compatibility team 'll take care of it.
So far we're not sure either it is coming from JetEngine or Elementor, as both are needed in the play.
I'll update you as soon as I hear back.
Manage Cookie Consent
We use cookies to optimize our website and services. Your consent allows us to process data such as browsing behavior. Not consenting may affect some features.
Functional
Always active
Required for our website to operate and communicate correctly.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
We use these to analyze the statistics of our site. Collected information is completely anonymous.The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
These cookies track your browsing to provide ads relevant to you.