예제 #1
0
 /**
  *
  *
  * @since  1.0.0
  * @access public
  * @param
  * @return void
  */
 public function pageLoop()
 {
     while (have_posts()) {
         the_post();
         $post_helper = new PostHelper();
         $content_helper = new ContentHelper();
         echo '<article>';
         $post_helper->pageTitle();
         $post_helper->postThumbnail();
         the_content();
         $content_helper->linkPages();
         $content_helper->editLink();
         echo '</article>';
     }
 }
예제 #2
0
?>
" <?php 
post_class('post');
?>
>
    <header>
        <?php 
$post_helper->postTitle();
?>
        <?php 
$post_helper->postMeta(get_the_ID());
?>
    </header>

    <?php 
$post_helper->postThumbnail();
?>
    <?php 
$post_helper->postContent();
?>
    <?php 
$post_helper->moreLink();
?>

    <footer>
        <?php 
$content_helper->editLink();
?>
    </footer>

    <?php