WordPress.org

Ready to get started?Download WordPress

Forums

How to make alternative menus? (5 posts)

  1. jpahonen
    Member
    Posted 6 years ago #

    Hey everyone, this is my first post and I'm not a coder so please be gentle. ;)

    I'm building up my portfolio-site and since coming from Finland, I'd need it in both English and Finnish. My old webpage can be found here, the new one that I'm building up here.

    The question is, is there any simple solution how to create two separate menus, so that one could be in English (as default, having links to the English pages) and when clicking the Finnish language link the menu would turn into Finnish (and have different links, naturally)? I've been trying to find something that could help from the forums, but had no luck so far. Maybe I've even stumbled upon the answer but since being a noob at coding, I wouldn't really realize it if I stared at it.

    All help is truly appreciated. Thanks in advance!

  2. moshu
    Member
    Posted 6 years ago #

    See if this helps.

  3. jpahonen
    Member
    Posted 6 years ago #

    Cheers. This really helped me get started, but the problem still exists: how can I change the menu bar's content when switching from a language to another?

    At the moment the code in my header.php looks like this:

    <div >
    		<h1><a href="<?php echo get_settings('home'); ?>"><?php bloginfo('name'); ?></a></h1>
    		<div class="description"><?php bloginfo('description'); ?></div>
    	</div></div><div id="navmenu">
    <ul>
    	<li><a href="<?php echo get_settings('home'); ?>">Home</a></li>
    	<?php wp_list_pages('title_li=&include=3,4,2,7'); ?>
  4. moshu
    Member
    Posted 6 years ago #

    Raed the plugin instructions (readme) carefully. Everything is there.

  5. jpahonen
    Member
    Posted 6 years ago #

    Ok, I'll try again. Thanks. I read it through though and most of it was like Hebrew to me. But let's see.

Topic Closed

This topic has been closed to new replies.

About this Topic