Esempio n. 1
0
        ?>
"><?php 
        echo article_title();
        ?>
</a>
                          </h2>

                          <footer>
                            Posted <time datetime="<?php 
        echo date(DATE_W3C, article_time());
        ?>
"><?php 
        echo relative_time(article_time());
        ?>
</time> by <?php 
        echo article_author('real_name');
        ?>
.
                          </footer>
                        </article>
                        <hr>
                      </li>
                      <?php 
    }
    ?>
                    </ul>

                    <?php 
    if (has_pagination()) {
        ?>
                    <nav class="pagination">
Esempio n. 2
0
										<?php 
    social_sharing($article_id, 'horizontal');
    ?>
									</div>
								</div>
							</div>
						</div>
					</div><!-- end of class="article-container" -->
				</div><!-- end of id="content-article"-->
				<div class="inner-container">
					<div class="row">
						<div class="column-small-11 center">
							<div class="add-on row">
							    <div class="column-small-8 add-on-main">
							    	<?php 
    article_author($article_id);
    ?>
							    	<?php 
    comment_box();
    ?>
							    	
							    </div>
							    <div class="column-small-4 sidebar">
							    	<?php 
    /* 
    							    			Side Bar include.
    
    							    			$sidebar_template -> Define a Sidebar template
    */
    include '_includes/sidebar.php';
    ?>
Esempio n. 3
0

	<article id="article-<?php 
echo article_id();
?>
">
		<h1><?php 
echo article_title();
?>
</h1>

		<span class="post-date">Posted <?php 
echo article_date();
?>
 by <?php 
echo article_author();
?>
.</span>

		<div class="content">
			<?php 
echo article_markdown();
?>
		</div>
	</article>

	<?php 
if (comments_open()) {
    ?>

        <div id="disqus_thread"></div>
Esempio n. 4
0
?>
</h1>

            <?php 
echo "<time class='date' datetime=" . date(DATE_W3C, article_time()) . ">" . utf8_encode(strftime('%d %B %Y', article_time())) . "</time>";
?>

            <article>
                <?php 
echo article_markdown();
?>
            </article>

            <div class="articleAuthorTextRules">
                <?php 
echo "auteur : " . article_author();
?>
            </div>

        </section>
    </div>


<?php 
//Some content to add after an article
switch (article_category_slug()) {
    case 'blog':
        break;
    case 'dossier':
        //Here, adding the summary
        displayDossierSummary(true, $dossierbigtitle, $masculintitle, $feminintitle);