Skip Navigation

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.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 14:00 9:00 – 14:00 9:00 – 14:00 9:00 – 14:00 9:00 – 14:00 -
- 15:00 – 18:00 15:00 – 18:00 15:00 – 18:00 15:00 – 18:00 15:00 – 18:00 -

Supporter timezone: Asia/Dhaka (GMT+06:00)

This topic contains 6 replies, has 2 voices.

Last updated by Prosenjit Barman 10 months, 2 weeks ago.

Assisted by: Prosenjit Barman.

Author Posts
July 24, 2024 at 2:17 am #15995303

simonY-6

Background of the issue:
I am trying to set up my website hidden link with WPML. The default language is English.

Symptoms:
My home page loop item in French and Malay shows only 1 product instead of 5x2. On my product list page, the loop item shows no items at all. The tabs above link to the English page instead of the French or Malay page.

Questions:
Why does the home page loop item in French and Malay show only 1 product instead of 5x2?
Why does the product list page loop item show no items at all?
Why do the tabs above link to the English page instead of the French or Malay page?

July 25, 2024 at 3:44 am #16001065

Prosenjit Barman
WPML Supporter since 03/2023

Languages: English (English )

Timezone: Asia/Dhaka (GMT+06:00)

Hello There,
Thanks for contacting WPML Support.

I understand the issue you're experiencing. While this problem can sometimes arise from untranslated products, I can see that your products have been translated. It's possible that the query to display products in the French and Malay language loop template hasn't been added correctly, which is why they aren't appearing on the frontend.

Please try the following steps and check if they helps in solving the issue:

1. Go to WPML > Settings and scroll to the 'Post Type Translation' section.
2. Set the translation preference for the 'Product' post type to 'Translatable - Only show translated contents'.
3. Next, navigate to WPML > Support > Troubleshooting.
4. Click on the following buttons:

- Synchronize posts taxonomies (Select 'Products' from the dropdown and then click the button)
- Clear the cache in WPML
- Assign translation status to duplicated content
- Set language information
- Fix post-type assignment for translations

5. Once done, open the default loop template where the query to display the products is added.
6. Remove the query, re-add it, and save the changes. Then update the translation.
7. Open the translated template and ensure the query for displaying the product is correctly added there as well.
8. Finally, clear the caches from your site and browser, then check again.

Please let me know how it goes. I will be happy to help if you need further assistance in this matter.

Best regards,
Prosenjit

July 25, 2024 at 7:51 am #16001830

simonY-6

I tried your suggestions step by step, still not working.
I need further help.
I can offer you access to my web site.

The home page: ngefurniture.com still shows nothing in loop grid area.
The product list pange: hidden link is the same. And the four tabs in french above jumps to English pages now and then.

微信截图_20240725154920.png
微信图片_20240725154840.png
July 25, 2024 at 8:57 am #16002393

simonY-6

The access account to my website:
[Removed]

July 26, 2024 at 4:02 am #16006332

Prosenjit Barman
WPML Supporter since 03/2023

Languages: English (English )

Timezone: Asia/Dhaka (GMT+06:00)

Hi There,
Thank you for trying out the suggestions.

Before proceeding, I'd like to inform you that this is a public forum. Please refrain from sharing any sensitive information related to your site in public responses, as it will be exposed publicly. If we require any information such as debug info or access details, we will enable a private box for you to securely share the information. Thank you for your understanding.

Since you provided access, I checked the French version of the homepage and found that the query contains a term from the English language (Screenshot: hidden link). Because this term does not exist in the French language, no products are being displayed on the frontend.

We are aware of a similar issue with the Taxonomy filter of the Loop Grid widget. Please review the errata below for more details and try the suggested workaround. As the Taxonomy Filter still is an experimental feature of Elementor, there may still be some improvements needed from Elementor's end.

- https://wpml.org/errata/elementor-pro-taxonomy-filter-feature-not-working-for-secondary-language/

[Make sure to take a full backup of the site before making any code changes.]

I hope this helps.

Regarding the issue with links on Translated pages - As you've dynamically added the links to the button, they should pointed correctly in each language. Please try the following steps and check if they help in solving the issue.

- Please disable the Object cache.
- Open the default page in the Elementor editor and remove the link.
- Save the changes.
- Add the link again and save the changes.
- Exit from the Elementor editor and update the translation.
- Keep the caching disabled and check if the link works properly in each language.

Please let me know the update. I will be happy to help if you need further assistance.

Best regards,
Prosenjit

July 26, 2024 at 7:42 am #16007198

simonY-6

For the first part of your answer:
I didn't use Taxonomy Filter at all. I even banned the Taxonomy Filter in Elementor settings.
It's not helping.

For the second part of your answer:
I've already tried disabling the cache and re-adding link many many many times.

Please help me! It's really annoying.

July 28, 2024 at 3:59 am #16011622

Prosenjit Barman
WPML Supporter since 03/2023

Languages: English (English )

Timezone: Asia/Dhaka (GMT+06:00)

Hi There!
Thank you for the update.

During the investigation, I discovered that the query within the Loop Grid widget is based on Taxonomy Term and was displaying products tagged with 'Latest Product'. Since the Taxonomy filter has been used within the Loop Grid widget, could you please still try the workaround mentioned in the guide and check again?

To investigate the link issue further, I tried to login to your site using the credentials you've shared but that is not working. Could you please share the access to your site so that I can investigate further? I enabled the private box for you so that you can securely share the access. The private box look like this: hidden link

On a sidenote, if you disable the 'Object Caching' do you continue to see the link issue?

Pleasse let me know the update. I will be happy to help if you need further assistance in this matter.

Best regards,
Prosenjit

The topic ‘[Closed] Loop grid item and tabs went wrong’ is closed to new replies.