ljuk67

Forum Replies Created

Viewing 13 posts - 21 through 33 (of 33 total)
  • Author
    Posts
  • ljuk67
    Participant

      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

      ljuk67
      Participant

        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!

        ljuk67
        Participant

          got the last one (from 12:56pm), not the previous one (12:14pm)

          ljuk67
          Participant

            I do have the “notify me of follow-up replies via email” box checked.

            ljuk67
            Participant

              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.

              ljuk67
              Participant

                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.

                ljuk67
                Participant

                  btw, [wppizza showadditives=”1″ single=”X”] produces this result:

                  https://snag.gy/s8mvWz.jpg

                  expected result: (using [wppizza showadditives=”1″ single=”X”])

                  https://snag.gy/HAdYFP.jpg

                  last screenshot also shows the numbering issue.

                  here’s the setup:

                  https://snag.gy/89eEdi.jpg

                  thanks,
                  Lukas

                  ljuk67
                  Participant
                    This reply has been marked as private.
                    ljuk67
                    Participant

                      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.

                      in reply to: set up custom placeholder image(s) #27143
                      ljuk67
                      Participant

                        🙂 no problem, it’s in slovak, maybe that’s why.

                        thanks!
                        Lukas

                        in reply to: set up custom placeholder image(s) #27141
                        ljuk67
                        Participant

                          erm… 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;
                          }

                          in reply to: set up custom placeholder image(s) #27139
                          ljuk67
                          Participant

                            I am using a different placeholder image for different category 🙂

                            in reply to: set up custom placeholder image(s) #27136
                            ljuk67
                            Participant

                              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;
                              }

                            Viewing 13 posts - 21 through 33 (of 33 total)