Exemplo n.º 1
0
?>
</h1>

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

			<section class="footnote">
				<!-- Unfortunately, CSS means everything's got to be inline. -->
				<p>This article is my <?php 
echo numeral(article_number(article_id()), true);
?>
 oldest. It is <?php 
echo count_words(article_markdown());
?>
 words long<?php 
if (comments_open()) {
    ?>
, and it’s got <?php 
    echo total_comments() . pluralise(total_comments(), ' comment');
    ?>
 for now.<?php 
}
?>
 <?php 
echo article_custom_field('attribution');
?>
</p>
			</section>
Exemplo n.º 2
0
                          <h1>
                            <a href="<?php 
    echo article_url();
    ?>
" title="<?php 
    echo article_title();
    ?>
"><?php 
    echo article_title();
    ?>
</a>
                          </h1>

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

                          <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>
Exemplo n.º 3
0
        echo article_title();
        ?>
</a></h1>
					<div class="meta">
						<time datetime="<?php 
        echo date(DATE_W3C, article_time());
        ?>
"><?php 
        echo date('M j, Y - g:i a', article_time());
        ?>
</time>
					</div>
				</header>

				<?php 
        echo split_content(article_markdown());
        ?>
				<p><a href="<?php 
        echo article_url();
        ?>
" rel="article">Read More</a></p>
			</article>
			<?php 
    }
    ?>
		<?php 
} else {
    ?>
			<p>Looks like you have some writing to do!</p>
		<?php 
}