WordPress.org

Ready to get started?Download WordPress

Forums

Make the home link keep language settings (2 posts)

  1. dgraves
    Member
    Posted 2 years ago #

    Hey,

    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'); ?>
              </div>
         </div>
         <!--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!

    Thanks!

  2. asplash
    Member
    Posted 2 years ago #

    Hi,
    Check your opening and closing tags.

    <!--:en-->Home<!--:--><!--:se-->Hem<!--:-->

Topic Closed

This topic has been closed to new replies.

About this Topic