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

hide categories

parent bf6c0b19
Branches
No related tags found
No related merge requests found
......@@ -20,7 +20,9 @@
<?php echo total_comments();?> <?php echo pluralise(total_comments(), "commentaire", "s") ?>.<?php endif; ?> <?php echo article_custom_field('attribution'); ?></p>
<ul style="list-style:none;box-sizing:border-box">
<li style="float:left;padding:15px"><a href="<?php echo article_previous_url()?>">Article précédent</a></li>
<!--
<li style="float:left;padding:15px"><a href="<?php echo article_category_url()?>">Tous les articles de la catégorie <?php echo article_category();?></a></li>
-->
<li style="float:left;padding:15px"><a href="<?php echo article_next_url()?>">Article suivant</a></li>
</ul>
</section>
......
......@@ -21,7 +21,7 @@
<h2> Dernier article </h2>
<?php include("single_article.php"); ?>
</li>
<!--
<?php if (!preg_match('/category.*/',current_url())): ?>
<li id="<?php echo current_url();?>" style="background:none">
<h2> Catégories d'articles </h2>
......@@ -36,6 +36,7 @@
<?php endwhile; ?>
</li>
<?php endif; ?>
-->
<?php if(total_posts() > 1 || $title=="Blog"):?>
<li style="background:none">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment