Make the home link keep language settings (2 posts)

  1. dgraves
    Posted 3 years 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:

    <!--Start MenuBar-->
         <div class="menu-bar">
              <div id="MainNav">
                  <?php inkthemes_nav(); ?>
    		<?php echo qtrans_generateLanguageSelectCode('image'); ?>
         <!--End MenuBar-->

    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!


  2. asplash
    Posted 3 years ago #

    Check your opening and closing tags.


Topic Closed

This topic has been closed to new replies.

About this Topic