diff --git a/article.php b/article.php index 72c9ae1c8fe240606ef6d56b3d1d8ad1a22e084b..1fa1f01585f84ef880dd2ca304ff1c565b4a72e4 100644 --- a/article.php +++ b/article.php @@ -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> diff --git a/posts.php b/posts.php index 914382ba0ce759c5287c048ded6e7588a3910a3d..6ac5730152703c34d71c2415de6e741b84ead3c9 100644 --- a/posts.php +++ b/posts.php @@ -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">