Matlesgi
Forum Replies Created
-
Forum: Plugins
In reply to: [Polylang] Problem Homepage and menuOoooooo shittt !!! it’s perfect thks a lot !!!
Forum: Plugins
In reply to: [Polylang] Problem Homepage and menuThanks for the code but never done…. the website is juste white… it’s tired !
Forum: Plugins
In reply to: [Polylang] Problem Homepage and menuok it’s good now but the menu doesn’t switch…
I’m not understand how change my html for the menu finally function :
<div class=”nav “>
<?php if ( has_nav_menu( ‘main_nav_menu’ ) ) { /* if menu location ‘Top Navigation Menu’ exists then use custom menu */ ?>
<?php wp_nav_menu( array(‘menu’ => ‘Top Navigation Menu’, ‘menu_class’ => ‘sf-menu’)); ?>
<?php } else { /* else use wp_list_pages */?>
<ul class=”sf-menu”>
<?php wp_list_pages( array(‘title_li’ => ”,’sort_column’ => ‘menu_order’)); ?><?php } ?>
</div>If you have any ideas to corrige this @chrysti… thks 🙂
Forum: Plugins
In reply to: [Polylang] Problem Homepage and menuHi,
Yes for the french menu and the theme is not a free theme.
Forum: Plugins
In reply to: [Polylang] Problem Homepage and menuNobody ?
Forum: Plugins
In reply to: [Polylang] Problem Homepage and menuin index.php for my theme i have :
<div class=”nav “>
<?php if ( has_nav_menu( ‘main_nav_menu’ ) ) { /* if menu location ‘Top Navigation Menu’ exists then use custom menu */ ?>
<?php wp_nav_menu( array(‘menu’ => ‘Top Navigation Menu’, ‘menu_class’ => ‘sf-menu’)); ?>
<?php } else { /* else use wp_list_pages */?>
<ul class=”sf-menu”>
<?php wp_list_pages( array(‘title_li’ => ”,’sort_column’ => ‘menu_order’)); ?><?php } ?>
</div>