2015-08-31, 05:14:38
(2015-08-30, 15:55:55)enri Wrote:(2015-08-30, 15:46:26)enri Wrote:(2011-05-18, 23:43:55)mvlcek Wrote:crusher88 Wrote:First of all, I think there should be a separate forum for the I18N plugin.
A complete support forum? I hope that this topic is enough ;-)
I think this topic is not enough. Your plugin by default simply doesn't work at all and your documents written very weak
It is not obvious even how to make this simple sub menu
<nav id="main-menu" class="level-0">
<ul>
<li><a href="<?php get_site_url(); ?>">Main</a></li>
<li><a href="<?php get_site_url(); ?>services">Services</a></li>
<li class="menu-item-has-children"><a href="about">About Us</a>
<ul class="sub-menu">
<li><a href="<?php get_site_url(); ?>reviews">Reviews</a></li>
</ul>
</li>
<li><a href="<?php get_site_url(); ?>contacts">Contacts</a></li>
</ul>
</nav>
Whoah. Damn, I thought mvlcek's plugins are one of the easiest to use
The menu that you describe is not a challenge at all.
Code:
<nav id="main-menu" class="level-0">
<ul>
<?php get_i18n_navigation(return_page_slug(), 0, 99, I18N_SHOW_NORMAL); ?>
</ul>
</nav>
Note that the li.menu-item-has-children will be li.closed or li.opened. A .currentpath class will be used too. Very handy