Site icon Catch Themes

Header and Polylang (two languages)

Hi, I´m already done with a new Webpage. It all worked fine. But unfortunately I have one issue that I cannot solve. I use Polylang to have a german (default) an english version of the Website. Int the header Section I included the language selector plus an additional graphic (a house) linked to home. Extract of the code in header.php:
<body <?php body_class(); ?>>
<?php // outputs a flags list with languages names ?>
<div id="meta-navigation"><div id="language">

    <?php pll_the_languages(array('show_flags'=>1,'show_names'=>0,'hide_current'=>1)); ?>

</div></div>

<?php
/**
* chicago_before_header hook
My question: the Home-page of the german Site is the domain itself (http://develop.ksmpatent.de/). The Home-page of the english version is http://develop.ksmpatent.de/en/home/ --> how can I achieve to link on the specific Home-page for each language? Thank you very much for your support in advance! Kind regards Alex
Exit mobile version