Support » Themes and Templates » Make the home link keep language settings
4 years, 11 months ago
So I’m using the theme Colorway from Inkthemes and I have a question about the menu.
I have made a custom menu and put a custom link for home which changes between swedish and english. The url is set to the base url: http://www.myurl.com e.g.
This is the code where the menu is:
<?php inkthemes_nav(); ?>
<?php echo qtrans_generateLanguageSelectCode('image'); ?>
Somehow it all works with the other links, but I can’t find where they’re stored. And the solution <!–se–>Hem<!–!><!–en–>Home<!–!> doesn’t work with the URL.
I also tried adding a <?php getinfo(‘url’); ?> before it loads the inkthemes_nav but the link is totally different, so I don’t really know what to do.
Anyone has any solution for this? I would deeply appreciate it!
Check your opening and closing tags.