Skip to content
  • Recent
  • Tags
  • Popular
  • Users
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

Lay Theme Forum

  1. Home
  2. General Discussion
  3. Lay Theme and Polylang_Front Page

Lay Theme and Polylang_Front Page

Scheduled Pinned Locked Moved General Discussion
33 Posts 15 Posters 2.0k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • mariusjopenM Offline
    mariusjopenM Offline
    mariusjopen
    Global Moderator
    wrote on last edited by
    #2

    Dear @Djao-Rakitine
    we are not very familiar with that plugin.

    Can you post a link?

    Best!

    Marius

    www.mariusjopen.world

    D 1 Reply Last reply
    0
    • mariusjopenM mariusjopen

      Dear @Djao-Rakitine
      we are not very familiar with that plugin.

      Can you post a link?

      Best!

      Marius

      D Offline
      D Offline
      Djao-Rakitine
      wrote on last edited by
      #3

      @mariusjopen

      the link of our web site is http://djaorakitine.com/en

      M 1 Reply Last reply
      0
      • D Djao-Rakitine

        @mariusjopen

        the link of our web site is http://djaorakitine.com/en

        M Offline
        M Offline
        maximilianm
        wrote on last edited by
        #4

        @Djao-Rakitine I'd love to hear how you solved the problem – struggling with the same issue now.

        1 Reply Last reply
        0
        • RichardR Offline
          RichardR Offline
          Richard
          Global Moderator
          wrote on last edited by
          #5

          Dear @maximilianm

          Could you please post a link to your website and i can take a better look, and some screenshots if possible?

          Just to get a better understanding of the issue :)

          Best wishes and have a wonderful day

          Richard

          1 Reply Last reply
          0
          • N Offline
            N Offline
            nypaloto
            wrote on last edited by
            #6

            Having the same (or a similar) issue with Polylang and the home page. Would be great if @Djao-Rakitine or also @ArneRobot (http://laythemeforum.com:4567/topic/5186/multilanguage-problem-with-home-page-polylang?_=1601884029786) could post their solutions.

            I also reached out to Polylang directly and will post here if they can provide help.

            1 Reply Last reply
            0
            • N Offline
              N Offline
              nypaloto
              wrote on last edited by
              #7

              Got this solved, thanks to Polylang's support:

              1. Create a 'polylang' folder in wp-content (or use existing 'polylang' folder)
              2. Upload the wpml-config.xml file (see below link) into the 'polylang' folder
              3. In your Wordpress admin, go to to Languages > String translations and search for 'frontpage_select_page'
              4. Replace the existing number in the ID field of the foreign language with the ID number '112' (see screenshot received from Polylang in below link )
              5. Save the changes

              And this should do it! It worked for me, with a site in English and Japanese. Note that we're using Project Thumbnails for our home page (not Thumbnail Grid or Element Grid), and had to manually add the Japanese thumbnails to the Japanese home page.

              XML file and Polylang's screenshot are here: https://tinyurl.com/y42xtz8b

              Hope this helps!

              R B T doorofperceptionD 4 Replies Last reply
              3
              • RichardR Offline
                RichardR Offline
                Richard
                Global Moderator
                wrote on last edited by
                #8

                Dear @nypaloto

                This is amazing :)
                Thank you so much for doing the research and coming back with a conclusion to the thread that will help many others!

                Sincerely Thank you for helping the Forum Community and have a great week

                Sincerely
                Richard

                1 Reply Last reply
                2
                • N nypaloto

                  Got this solved, thanks to Polylang's support:

                  1. Create a 'polylang' folder in wp-content (or use existing 'polylang' folder)
                  2. Upload the wpml-config.xml file (see below link) into the 'polylang' folder
                  3. In your Wordpress admin, go to to Languages > String translations and search for 'frontpage_select_page'
                  4. Replace the existing number in the ID field of the foreign language with the ID number '112' (see screenshot received from Polylang in below link )
                  5. Save the changes

                  And this should do it! It worked for me, with a site in English and Japanese. Note that we're using Project Thumbnails for our home page (not Thumbnail Grid or Element Grid), and had to manually add the Japanese thumbnails to the Japanese home page.

                  XML file and Polylang's screenshot are here: https://tinyurl.com/y42xtz8b

                  Hope this helps!

                  R Offline
                  R Offline
                  rocked23
                  wrote on last edited by
                  #9

                  Dear @nypaloto ,

                  I have the same problem and would be very happy to have a solution for that. The link you shared is not valid anymore. Could you please send this again? Would be happy to know how to solve this issue.

                  Thanks and greetings from Cologne
                  Alex

                  N 1 Reply Last reply
                  0
                  • R rocked23

                    Dear @nypaloto ,

                    I have the same problem and would be very happy to have a solution for that. The link you shared is not valid anymore. Could you please send this again? Would be happy to know how to solve this issue.

                    Thanks and greetings from Cologne
                    Alex

                    N Offline
                    N Offline
                    nypaloto
                    wrote on last edited by
                    #10

                    @rocked23 Ah, sorry about that. Try this one: https://drive.google.com/drive/folders/14kQ_7C6hEwktKLXzmAYcBwAzm8lSl_gi?usp=sharing

                    R 1 Reply Last reply
                    0
                    • N nypaloto

                      @rocked23 Ah, sorry about that. Try this one: https://drive.google.com/drive/folders/14kQ_7C6hEwktKLXzmAYcBwAzm8lSl_gi?usp=sharing

                      R Offline
                      R Offline
                      rocked23
                      wrote on last edited by
                      #11

                      Dear @nypaloto ,

                      GREAT =) Thanks for your help! It worked perfectly!!!

                      Have a nice evening and greetings from Cologne
                      Alex

                      1 Reply Last reply
                      0
                      • R Offline
                        R Offline
                        rocked23
                        wrote on last edited by
                        #12

                        Dear @nypaloto, dear @Richard-Keith,

                        as the english site worked perfectly with the solution above, I wanted to start with the french and spanish versions of the site.

                        So I added another language in Polylang, added the page ID in the Polylang’s string section »frontpage_select_page« ...

                        Bildschirmfoto 2020-11-26 um 08.51.00.png

                        ... but on the front-page, when I click on »FR«, this link is still linked to the »EN« version of the site –> www.matteroffact.de

                        Does anyone has an idea, why this is not working? Thanks again for your help!

                        Greetings from Cologne
                        Alex

                        1 Reply Last reply
                        0
                        • N Offline
                          N Offline
                          nypaloto
                          wrote on last edited by
                          #13

                          Unfortunately, I can't help with this. But the solution I posted came directly from Polylang's support, so I'd reach out to them. Good luck!

                          1 Reply Last reply
                          0
                          • RichardR Offline
                            RichardR Offline
                            Richard
                            Global Moderator
                            wrote on last edited by
                            #14

                            Dear Alex @rocked23

                            Without knowing exactly whats going on with your polylang, it is difficult to help fully :)

                            You could always force the link with jQuery added to "custom <head> content" within 'Lay Options - Custom CSS & HTML'

                            https://stackoverflow.com/questions/179713/how-to-change-the-href-for-a-hyperlink-using-jquery

                            Best wishes & Good Luck!

                            Richard

                            1 Reply Last reply
                            0
                            • I Offline
                              I Offline
                              ipsum.at
                              wrote on last edited by
                              #15

                              Hey thank you very much @nypaloto . Your solution worked fine for me. GReetings Erik

                              1 Reply Last reply
                              0
                              • N nypaloto

                                Got this solved, thanks to Polylang's support:

                                1. Create a 'polylang' folder in wp-content (or use existing 'polylang' folder)
                                2. Upload the wpml-config.xml file (see below link) into the 'polylang' folder
                                3. In your Wordpress admin, go to to Languages > String translations and search for 'frontpage_select_page'
                                4. Replace the existing number in the ID field of the foreign language with the ID number '112' (see screenshot received from Polylang in below link )
                                5. Save the changes

                                And this should do it! It worked for me, with a site in English and Japanese. Note that we're using Project Thumbnails for our home page (not Thumbnail Grid or Element Grid), and had to manually add the Japanese thumbnails to the Japanese home page.

                                XML file and Polylang's screenshot are here: https://tinyurl.com/y42xtz8b

                                Hope this helps!

                                B Offline
                                B Offline
                                brogr
                                wrote on last edited by
                                #16

                                @mariusjopen Would be handy to have this solution included in the Lay Documentation. I can confirm that it works.

                                @nypaloto said in Lay Theme and Polylang_Front Page:

                                Got this solved, thanks to Polylang's support:

                                1. Create a 'polylang' folder in wp-content (or use existing 'polylang' folder)
                                2. Upload the wpml-config.xml file (see below link) into the 'polylang' folder
                                3. In your Wordpress admin, go to to Languages > String translations and search for 'frontpage_select_page'
                                4. Replace the existing number in the ID field of the foreign language with the ID number '112' (see screenshot received from Polylang in below link )
                                5. Save the changes

                                And this should do it! It worked for me, with a site in English and Japanese. Note that we're using Project Thumbnails for our home page (not Thumbnail Grid or Element Grid), and had to manually add the Japanese thumbnails to the Japanese home page.

                                XML file and Polylang's screenshot are here: https://drive.google.com/drive/folders/14kQ_7C6hEwktKLXzmAYcBwAzm8lSl_gi

                                Hope this helps!

                                B 1 Reply Last reply
                                0
                                • B brogr

                                  @mariusjopen Would be handy to have this solution included in the Lay Documentation. I can confirm that it works.

                                  @nypaloto said in Lay Theme and Polylang_Front Page:

                                  Got this solved, thanks to Polylang's support:

                                  1. Create a 'polylang' folder in wp-content (or use existing 'polylang' folder)
                                  2. Upload the wpml-config.xml file (see below link) into the 'polylang' folder
                                  3. In your Wordpress admin, go to to Languages > String translations and search for 'frontpage_select_page'
                                  4. Replace the existing number in the ID field of the foreign language with the ID number '112' (see screenshot received from Polylang in below link )
                                  5. Save the changes

                                  And this should do it! It worked for me, with a site in English and Japanese. Note that we're using Project Thumbnails for our home page (not Thumbnail Grid or Element Grid), and had to manually add the Japanese thumbnails to the Japanese home page.

                                  XML file and Polylang's screenshot are here: https://drive.google.com/drive/folders/14kQ_7C6hEwktKLXzmAYcBwAzm8lSl_gi

                                  Hope this helps!

                                  B Offline
                                  B Offline
                                  brogr
                                  wrote on last edited by
                                  #17

                                  Perhaps including other Lay options too, e.g. footer:

                                  <wpml-config>
                                  <admin-texts>
                                  <key name="theme_mods_lay">
                                  <key name="frontpage_select_page" />
                                  </key>
                                  <key name="lay_projects_footer" />
                                  <key name="lay_pages_footer" />
                                  <key name="lay_categories_footer" />
                                  </admin-texts>
                                  </wpml-config>

                                  1 Reply Last reply
                                  0
                                  • RichardR Offline
                                    RichardR Offline
                                    Richard
                                    Global Moderator
                                    wrote on last edited by
                                    #18

                                    Dear @brogr

                                    This is a fair point and will add this 'documentation insert' idea to the development notes.

                                    Best wishes and thank you for the concise thread post that will undoubtably help others :)

                                    Richard

                                    1 Reply Last reply
                                    0
                                    • J Offline
                                      J Offline
                                      JoshuaMarr
                                      wrote on last edited by
                                      #19

                                      Thanks @nypaloto! I found the problem (did not renew permalinks and had to set a an actual page) and this solution worked for me as well.

                                      1 Reply Last reply
                                      0
                                      • N nypaloto

                                        Got this solved, thanks to Polylang's support:

                                        1. Create a 'polylang' folder in wp-content (or use existing 'polylang' folder)
                                        2. Upload the wpml-config.xml file (see below link) into the 'polylang' folder
                                        3. In your Wordpress admin, go to to Languages > String translations and search for 'frontpage_select_page'
                                        4. Replace the existing number in the ID field of the foreign language with the ID number '112' (see screenshot received from Polylang in below link )
                                        5. Save the changes

                                        And this should do it! It worked for me, with a site in English and Japanese. Note that we're using Project Thumbnails for our home page (not Thumbnail Grid or Element Grid), and had to manually add the Japanese thumbnails to the Japanese home page.

                                        XML file and Polylang's screenshot are here: https://tinyurl.com/y42xtz8b

                                        Hope this helps!

                                        T Offline
                                        T Offline
                                        Tstudios
                                        wrote on last edited by
                                        #20

                                        @nypaloto

                                        Hi! I'm having a problem with this as I cannot find the frontpage_select_page string in the Strings translations page. I uploaded the wpml-config.xml in my public_html/wp-content/plugins/polylang and it didn't do anything. I also tried to create a folder named polylang in public_html/wp-content/polylang and still nothing. Any idea how to make this work?

                                        Thanks a lot in advance!

                                        doorofperceptionD 1 Reply Last reply
                                        0
                                        • tspallekT Offline
                                          tspallekT Offline
                                          tspallek
                                          wrote on last edited by
                                          #21

                                          Hey I had the same issue. Nothing really worked … but if that is a help for you. I worked around it. Instead of using the Language Switch directly I added individual link to the front-pages directly … that works at least. A little bit annoying because if you switch languages it jumps to the front page … but at least it works …

                                          doorofperceptionD 1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          I also code custom websites or custom Lay features.
                                          💿 Email me here: 💿
                                          info@laytheme.com

                                          Before you post:
                                          1. When using a WordPress Cache plugin, disable it or clear your cache.
                                          2. Update Lay Theme and all Lay Theme Addons
                                          3. Disable all Plugins
                                          4. 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:
                                          1. Post a link to where the problem is
                                          2. Does the problem happen on Chrome, Firefox, Safari or iPhone or Android?
                                          3. If the problem is difficult to explain, post screenshots / link to a video to explain it
                                          Online Users
                                          N
                                          njbas
                                          Forgot your key, lost your files, need a previous Lay Theme or Addon version? Go to www.laykeymanager.com
                                          laytheme.com
                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Recent
                                          • Tags
                                          • Popular
                                          • Users
                                          • Search