Commit 2b5d3edb authored by Isaque Melo's avatar Isaque Melo
Browse files

Remove uncategorized from list

parent fb395f72
......@@ -26,11 +26,14 @@ use guaraci\images;
foreach($post_categories as $category_id){
$category = get_term($category_id);
if($category_id != 1){
?>
<div class="categories-list--category category-<?= $category->slug ?>">
<a href="<?= esc_url(get_term_link($category, 'category')) ?>"><?= $category->name ?></a>
</div>
<?php
}
}
?>
</div>
......@@ -50,4 +53,4 @@ use guaraci\images;
</div>
<?php if($link->url): ?>
<a href="<?= $link->url ?>" class="goto"><?= $link->label ?></a>
<?php endif; ?>
\ No newline at end of file
<?php endif; ?>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment