Skip to content
Snippets Groups Projects
Verified Commit 03f99ac6 authored by David Beniamine's avatar David Beniamine
Browse files

Hide categories if only one

parent 5652b9dc
No related branches found
No related tags found
No related merge requests found
......@@ -50,6 +50,7 @@
</form>
<aside>
<?php if(total_categories() > 1): ?>
<b>Categories</b>
<ul>
<?php while(categories()):
......@@ -61,6 +62,7 @@
</li>
<?php } endwhile; ?>
</ul>
<?php endif; ?>
</aside>
</div>
</div>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment