Пример #1
0
function Page()
{
    ?>
<div class="article">
  <article id="post-<?php 
    the_ID();
    ?>
" <?php 
    post_class();
    ?>
>
    <?php 
    Page_Header();
    ?>
    <?php 
    Article_Content();
    ?>
    <?php 
    Page_Footer();
    ?>
  </article>
</div>

<?php 
}
Пример #2
0
function Article()
{
    ?>
<div class="article">
  <article id="post-<?php 
    the_ID();
    ?>
" <?php 
    post_class();
    ?>
>
    <?php 
    Article_Header();
    ?>
    <?php 
    if (is_single()) {
        Article_Content();
    } else {
        Article_Continue();
    }
    ?>
  
    <?php 
    Article_Footer();
    ?>
  </article>
</div>

<?php 
}