Skip to content
Snippets Groups Projects
Select Git revision
  • e3d529f964bc9a2c0357613fe9b4ede3570c213f
  • master default protected
  • dev
3 results

single_article.php

Blame
  • single_article.php 858 B
    <article class="wrap">
    					<h2>
    						<a href="<?php echo article_url(); ?>" title="<?php echo article_title(); ?>"><?php echo article_img(article_slug());?><?php echo article_title(); ?></a>
    					</h2>
    
    					<div class="contents">
                        				<?php echo article_description(); ?>
    					</div>
    
    					<footer>
    						<p>Article num&eacute;ro: <?php echo article_number(article_id()); ?>, <?php echo count_words(article_markdown()); ?> mots <?php if(comments_open()): ?>,
    						<?php echo total_comments();?> <?php echo pluralise(total_comments(), "commentaire", "s") ?>.<?php endif; ?> <?php echo article_custom_field('attribution'); ?></p>
    						Posté <time datetime="<?php echo date(DATE_W3C, article_time()); ?>"><?php echo relative_time(article_time()); ?></time> par <?php echo article_author('real_name'); ?>.
    					</footer>
    				</article>