Jump to content

[Solved] Part of code depend on language


Recommended Posts



first of all - hello & thank you for such great soft! For almost 4 years I was connected only with WP dev projects and now its time for my first time shop. I developed theme and so one. Works like charm. except one thing. Its in 2 languages and translations are working perfectly but inside header I have a menu bar (2 menus in fact). they looks like that:

<div class="top-navigation">
<ul class="left-menu">
 <li><a href="#">O firmie</a></li>
 <li><a href="#">Oferta</a></li>
<ul class="right-menu">
 <li><a href="#">Sklep</a></li>
 <li><a href="#">Aktualności</a></li>
 <li><a href="#">Kontakt</a></li>
<h1><a href="" title="Polskie Frykasy">Polskie Frykasy - Strona Główna</a></h1>


What I wanted to achieve is:

+ Having possibility of link text translation (in wordpress was sth like that <!--:en-->textinenglish<--:--><!--:pl-->Textinpolish<--:-->

+ The same but about URL for the links - to guarantee that user will be directed from english shop to engilsh website and from polish shop to polish website


How to achieve it? thank you!




I've found solution here:



could we closed it? :) thx

Edited by pawciak (see edit history)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...