fix: suppression duplication liste des pages
This commit is contained in:
parent
97c606dd67
commit
77851a677b
1 changed files with 0 additions and 7 deletions
|
@ -33,13 +33,6 @@
|
|||
</nav>
|
||||
|
||||
<ul class="f-end d-none d-flex-sm">
|
||||
<?php
|
||||
$listmenu = get_nav_menu_locations();
|
||||
$menu = wp_get_nav_menu_items($listmenu['top-navbar-2']);
|
||||
foreach ($menu as $menuElement) {
|
||||
echo '<li><a href="' . $menuElement->url . '" class="menu-item">'. $menuElement->title . '</a></li>';
|
||||
}
|
||||
?>
|
||||
<li class="f-column f-center"><?php include(TEMPLATEPATH . '/components/searchform.php'); ?></li>
|
||||
</ul>
|
||||
</div>
|
||||
|
|
Reference in a new issue