Polylang

  • Author
    Posts
  • #147042

    wastelab2020
    Member

    Hello,

    I have made my whole website in french and now I’d like to add the polylang plugin (for the english version) but anytime I activate it, all my original pages disappear and only one “nothing found” page remains. How can I fix this ?

    Thank you
    Galia

    The blog I need help with is wastelab.org.

    #147056

    tarasdashkevych
    Theme Author

    Hello Galia,

    Have you created a translated version of your original pages? Also, please check theese topics regarding Polylang setup:

    (1) https://polylang.wordpress.com/documentation/setting-up-a-wordpress-multilingual-site-with-polylang/translating-posts-or-pages/

    (2) https://wordpress.org/support/topic/polylang-ruins-my-site/

    (3) https://polylang.pro/doc-category/troubleshooting/

    Hope this helps.

    Thank you,
    Taras

    #147921

    wastelab2020
    Member

    Hello Taras,

    I am coming back to you for this topic. When I activate the polylang plugin pages are working fine, french and english except the home page which disappears. Do you know if this can be fixed ?

    Thank you !
    Galia

    #147928

    tarasdashkevych
    Theme Author

    Hi Galia,

    Make sure you’ve created a home page for both languages, and these pages are set as a static front page in your settings (https://en.support.wordpress.com/pages/front-page/).

    Please also check this Polylang support topic: https://wordpress.org/support/topic/polylang-not-working-for-the-home-page/#post-11407533

    Thanks,
    Taras

    #147934

    wastelab2020
    Member

    Hello Taras,

    It’s fine now :) Thank you for your answers.
    I have one last question, do you think it is possible with the theme to have the flags of the different languages on top of the screen and not as a widget in the footer bar ?
    Thank you
    Galia

    #147945

    tarasdashkevych
    Theme Author

    Hi Galia,

    You can create a social menu with your language links and assign it to the “Social” menu location.

    The thing is that social menu is designed to display social icons only but I can provide you a custom CSS, so it displays language flags. Similarly what I’ve done in this website: https://savannahwashere.com/

    Let me know when the menu is created and language flags are added to it, so I can provide you a custom CSS.

    Thank you,
    Taras

    #147964

    wastelab2020
    Member

    Hello Taras,

    Thank you for your message.
    So I have created the social menu through the menu creator but couldn’t add the polylang widget. Is this enough to add the custom CSS ?

    Thank you !
    Galia

    #147973

    tarasdashkevych
    Theme Author

    Galia,

    Widgets cannot be added to the menu. The plugins come with a option to a language switcher to the custom menus.

    Could you please add a language switcher (“display flags”) to the social menu: https://polylang.pro/doc/the-language-switcher/#add-language-switcher ?

    Thank you,
    Taras

    #147998

    wastelab2020
    Member

    Hello Taras,

    I have done what you asked me to. Now I just need the flags to be displayed instead of some link logos :)

    Thanks for your help
    Galia

    #148002

    tarasdashkevych
    Theme Author

    Hi Galia,

    Please use this custom CSS to display flags in the social menu:

    
    .header-social-menu {
      margin-right: 10px;  
    }
    
    .social-list .lang-item a::before {
      display: none;
    }
    
    .social-list .lang-item a span {
      width: auto;
      height: auto;
      position: static !important;
      clip: unset;
      clip-path: unset;
      -webkit-clip-path: unset;
    }
    
    .social-list .menu-items .lang-item a {
      line-height: 0.5;
      margin: 0 5px;
    }
    

    Thank you,
    Taras

    #148009

    wastelab2020
    Member

    Thank you so much !
    You rock
    Galia

    #148013

    tarasdashkevych
    Theme Author

    You are very welcome Galia! :)

The topic ‘Polylang’ is closed to new replies.