fix: retrait des chapitres dans la liste des catégories
This commit is contained in:
parent
02e6065c9d
commit
3e1ff55abe
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@
|
||||||
) );
|
) );
|
||||||
|
|
||||||
foreach( $categories as $category ) {
|
foreach( $categories as $category ) {
|
||||||
if ($category->slug != "blog") {
|
if ($category->slug != "blog" && $category->slug != "chapters") {
|
||||||
echo '<a class="menu-element" href="' . get_category_link($category->term_id) . '">' . $category->name . '<span class="menu-label label-secondary">'. $category->count . '</span></a>';
|
echo '<a class="menu-element" href="' . get_category_link($category->term_id) . '">' . $category->name . '<span class="menu-label label-secondary">'. $category->count . '</span></a>';
|
||||||
}
|
}
|
||||||
}?>
|
}?>
|
||||||
|
|
Reference in a new issue