Forum Replies Created
- AuthorPosts
-
I just disabled WPML String translation and it works fine (numbering works as it should).
Can’t be the theme – the content that’s problematic comes from Site Origin Page Builder and WPML, the theme is just the skeleton. Tried changing the theme just to be sure – no change.
I even deleted all the big text chunk strings, still no change which is strange. Will take it to the Site Origin forum.
Seems to me that WPML is translating Site Origin pages twice:
1. Once as pages (manual translation, creatin language mutations)
2. in-page text as widgets (Site origin works via widgets, most of the text I found in string Widget translation). Which seems a bit of a duplication to me.This can be closed, your plugin is working fine, thanks for your help and time!
Lukas
re duplicator – sure, go ahead – but read below first, you might not need to.
re massive text blocks in WPML (search string Orechy) – Think we found the problem. Looks like WPML is creating a single string to translate out of the entire content of each site origin widget iteration of Daily Menu page or something like that. I checked the content for alergens and 0 for wheat and gluten – the incorrect output is there (WPML stores the old data for translation and serves it instead of actual data or it scrambles it somehow).
Just search for
<sup>(1)
and you’ll see the culprits.Now do I continue troubleshooting here or talk to site origin and WPML compatibility or take it to WPML? 😀
Gues WPML would be a start – why is it creating string translation entry for an entire page instead of the multilingual copies of the page.
What do you think?
Thanks for finding where to start!
got the last one (from 12:56pm), not the previous one (12:14pm)
I do have the “notify me of follow-up replies via email” box checked.
BTW, this forum isn’t sending any notifications – I checked my spam folder – nothing, does it work for you? I do have the “notify me of follow-up replies via email” box checked.
Hi Olly,
sorry, I used the same shortcode in my original statement twice. The incorrect result is produced by shortcode [wppizza type=’additives’]: https://snag.gy/HAdYFP.jpg
and the correct result by shortcode [wppizza showadditives=”1″ single=”X”] https://snag.gy/HAdYFP.jpg. This isn’t the recommended shortcode, it’s kind of a hack, that’s why I’m asking why.
With regards to: have you tried re-saving your additives ? – of course, no change. Strangely, if I swap the numbering (for example Fish and fish products change id from 4 to 1 and Wheat and gluten change from 1 to 4, save, then shift+f5 refresh the daily menu page: https://dev.bistropolievocka.sk/en/daily-menu/ – it shows no change. I’m not using any caching plugin.)
Where do you see massive text blocks in WPML? I checked WPML string translation for wppizza, there’s no massive textblocks.
btw, [wppizza showadditives=”1″ single=”X”] produces this result:
expected result: (using [wppizza showadditives=”1″ single=”X”])
last screenshot also shows the numbering issue.
here’s the setup:
thanks,
LukasThis reply has been marked as private.BTW, I switched the shortcode to [wppizza showadditives=”1″ single=”X”], because [wppizza showadditives=”1″] was for some reason pulling in one of the food categories and displaying the food items where only additives should have been. But that’s a separate (non-burning) issue we can address later.
🙂 no problem, it’s in slovak, maybe that’s why.
thanks!
Lukaserm… that’s exactly what I did?
hlavne-jedlo-53 is one of the categories, I have a separate CSS code for each category:
wppizza-article-<category-name>-<category-id> .wppizza-article-img-placeholder {
width: 100%; /* changed to cover the entire grid space */
height: 200px; /* landscape thumbnail for 3 columns grid */
background: url(yourimage.jpg) center center no-repeat;
}I am using a different placeholder image for different category 🙂
Hi Olly,
awesome, I love it when things are coded properly so that such customisation is straight forward :). Good job, thanks!
here’s what worked for me:
.wppizza-article-hlavne-jedlo-53 .wppizza-article-img-placeholder {
width: 100%; /* changed to cover the entire grid space */
height: 200px; /* landscape thumbnail for 3 columns grid */
background: url(yourimage.jpg) center center no-repeat;
} - AuthorPosts