parent
3c979746be
commit
93a7a1765b
1 changed files with 9 additions and 18 deletions
|
@ -5,24 +5,15 @@
|
||||||
|
|
||||||
<div class="collapse navbar-collapse" id="navbarSupportedContent">
|
<div class="collapse navbar-collapse" id="navbarSupportedContent">
|
||||||
<ul class="navbar-nav nav-justified w-100">
|
<ul class="navbar-nav nav-justified w-100">
|
||||||
<li class="nav-item active">
|
<?php
|
||||||
<a class="nav-link" href="#">La vie du blog</a>
|
$categories = get_categories( array(
|
||||||
</li>
|
'orderby' => 'name',
|
||||||
<li class="nav-item">
|
'order' => 'ASC'
|
||||||
<a class="nav-link" href="#">Contenus Culturels</a>
|
) );
|
||||||
</li>
|
|
||||||
<li class="nav-item">
|
foreach( $categories as $category ) {
|
||||||
<a class="nav-link" href="#">Fandoms</a>
|
echo '<li class="nav-item"><a class="nav-link" href="' . get_category_link($category->term_id) . '">' . $category->name . '</a></li>';
|
||||||
</li>
|
}?>
|
||||||
<li class="nav-item">
|
|
||||||
<a class="nav-link" href="#">Tribunes</a>
|
|
||||||
</li>
|
|
||||||
<li class="nav-item">
|
|
||||||
<a class="nav-link" href="#">Libreries</a>
|
|
||||||
</li>
|
|
||||||
<li class="nav-item">
|
|
||||||
<a class="nav-link" href="#">Internet et Numérique</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
Reference in a new issue