POLYLANG / thumbnail grid displayed in both languages at once
-
wrote on Mar 8, 2022, 9:22 PM last edited by marynasakowska Mar 8, 2022, 4:25 PM
Hello everyone
I have noticed such a nasty bug on my site http://norbertdelman.com/
As you see on the homepage, the thumbnail grid is displayed in both languages, so everything is duplicated, no matter which language you choose from the menu (don't depend on titles; they have to be only in English; but notice that every project is doubled as you scroll down). I literally tried everything but still I find everything doubled on the homepage.
Let's check how it looks in my kokpit, every project has two versions, each of which is assigned to the one of two laguages (PL, ENG)
It looks like the language filter is not working properly with the thumbnail grid of this category
I have everything up to date and 'disabled AJAX' checked.
Please help me! -
wrote on Mar 14, 2022, 11:25 PM last edited by
-
Dear @marynasakowska
Do you have any other plugins that may be affecting the behaviour?
Does this apply only when Lay Theme and Polylang are working alone together.
Best wishes
Richard
-
Dear @marynasakowska
Do you have any other plugins that may be affecting the behaviour?
Does this apply only when Lay Theme and Polylang are working alone together.
Best wishes
Richard
wrote on Mar 21, 2022, 9:59 PM last edited byDear @Richard
Apart from these two, I have only WP MENU ICONS on to make this instagram icon in the menu. Although it has been on since the very beginning of the webiste and i haven't got such problems with other thumbnail grids of other categories of projects. You can see PROJECTS -> choose any year, PL or ENG version, everything works fine. Only this SCULPTURE/RZEZBY category which is new, made after some updates of the wordpress, laytheme, plugins etc doesn't work properly with this language filtering -
Dear @marynasakowska
Do you have any other plugins that may be affecting the behaviour?
Does this apply only when Lay Theme and Polylang are working alone together.
Best wishes
Richard
wrote on Mar 21, 2022, 10:03 PM last edited by@Richard okay, I have deactivated WP MENU ICONS for a while, it's still the same. So that's not a thing
-
Dear @marynasakowska
Please feel free to send you Login details via 'Chats' i can take a closer look at the Double up π
Note: do not disclose any private info on the thread itself π
Sincerely
Richard
-
wrote on Jun 18, 2022, 4:31 PM last edited by
I'm looking to do something similar on my website (make an EN and an FR language) but I haven't used any plugins and I'm currently researching how to implement it... Did your issue get resolved @marynasakowska ?
-
oh damn it seems like this issue wasn't resolved, let me take another look at this.
@cdc84 u can use qtranslate-xt
-
ok so i just tested this.
i think maybe @marynasakowska made her projects be members of a category that belongs to both languages :D.
see. i created a category for "architecture" for german language, and one for "architecture" for spanish.
then i assigned my spanish architecture project to the spanish architecture category and my german architecture project to my german architecture category.
i think what @marynasakowska may had done was use a category like "hello" for all projects of all languages.
espanol:
german:
-
wrote on Jun 30, 2022, 9:42 AM last edited by HorstoftheFuture Jun 30, 2022, 5:46 AM
Hey Armin, unfortunately not. I have the same problem here.
Polylang asks to βconnectβ posts or categories that are the same. That means that I have a post in DE (with a DE URL) and can directly switch to the EN (with a EN URL) im the backend.
Same goes for the categories - englisch Posts get English categories (βdrawingsβ), German posts have German categories (βZeichnungenβ), and DE and EN are connected in the backend.
However, the thumbnail grid mixes this up and displays both English and German posts - maybe bc the categories are connected??
-
Hey!
Look at this video. It is currently uploading so it can take a few minutes:
https://youtu.be/yt7CXeQ4veIDid you do the same thing?
Am I missing something?
I think it works right and is supposed to be like that. -
wrote on Jul 5, 2022, 1:54 PM last edited by
Hello, I finally found the solution!
This error only occurs occasionally, and this is when the name of a DE post is similar to the EN post. When the URL is created automatically, this can lead to confusion, so you need to make sure that the URLs are different (and not, as the automation sometimes suggests, with a /-2 in the end).
For me this worked with at least 3 test posts, so good luck everyone! -
wrote on Jul 8, 2022, 10:36 AM last edited by HorstoftheFuture Jul 8, 2022, 6:36 AM
Update: Problem NOT solved, this only helped temporarily. It all came back yesterday :(
@arminunruh thank you, everything was built exactly like in your video. try adding more posts and you will probably see what we mean ...
-
wrote on Jul 8, 2022, 12:24 PM last edited by
Actually, it seems to be about the post names, not the URLs. If a DE post name is identical to its EN name, it will be displayed twice.
-
@HorstoftheFuture said in POLYLANG / thumbnail grid displayed in both languages at once:
Update: Problem NOT solved, this only helped temporarily. It all came back yesterday :(
@arminunruh thank you, everything was built exactly like in your video. try adding more posts and you will probably see what we mean ...So
does it work if you dont have duplicate post names?
Or does it not work? -
wrote on Jul 17, 2022, 6:54 AM last edited by
No, it does not work. The issue itself i pretty unpredictable. Sometimes I can manage to put it back to normal by resetting every postβs category and saving it again, but that only lasts a few days and the page will return to chaos after I enter a new post.
-
ok can you send your /wp-admin/ login info to info@laytheme.com
and your ftp server login info?
and then maybe a screenshot of where you see the problem?
-
wrote on Oct 15, 2022, 12:09 PM last edited by
Hi there! Same issue here... any solutions so far?
-
hey so i was kind of unable to reproduce this bug
if u got this bug can u send me the url,
your /wp-admin/ login, your ftp login and a screenshot of where exactly the wrong projects are shown?
I also code custom websites or custom Lay features.
πΏ Email me here: πΏ
info@laytheme.com
Before you post:
- When using a WordPress Cache plugin, disable it or clear your cache.
- Update Lay Theme and all Lay Theme Addons
- Disable all Plugins
- Go to Lay Options β Custom CSS & HTML, click "Turn Off All Custom Code", click "Save Changes"
This often solves issues you might run into
When you post:
- Post a link to where the problem is
- Does the problem happen on Chrome, Firefox, Safari or iPhone or Android?
- If the problem is difficult to explain, post screenshots / link to a video to explain it