Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php $last_articles = $this->children(array('limit'=>3, 'order'=>'page.created_on DESC')); ?>
- <?php foreach ($last_articles as $article): ?>
- <div class="entry">
- <span class="date"><?php echo $article->date('%A'); ?><em><?php echo $article->date('%d'); ?></em></span>
- <h3 class="title"><?php echo $article->link($article->title); ?></h3>
- <span class="tags"><strong>tags:</strong> <?php echo join(', ', $article->tags()); ?></span>
- <?php echo $article->content(); ?>
- <span class="read-more"><?php if ($article->hasContent('extended')) echo $article->link('Continue Reading…'); ?></span>
- </div>
- <?php endforeach; ?>
- <?php $last_articles = $this->children(array('limit'=>3, offset =>3 'order'=>'page.created_on DESC')); ?>
- <?php foreach ($last_articles as $article): ?>
- <div class="entry">
- <span class="date"><?php echo $article->date('%A'); ?><em><?php echo $article->date('%d'); ?></em></span>
- <h3 class="title"><?php echo $article->link($article->title); ?></h3>
- <span class="tags"><strong>tags:</strong> <?php echo join(', ', $article->tags()); ?></span>
- <?php echo $article->content(); ?>
- <span class="read-more"><?php if ($article->hasContent('extended')) echo $article->link('Continue Reading…'); ?></span>
- </div>
- <?php endforeach; ?>
- <?php $last_articles = $this->children(array('limit'=>3, offset =>6 'order'=>'page.created_on DESC')); ?>
- <?php foreach ($last_articles as $article): ?>
- <div class="entry">
- <span class="date"><?php echo $article->date('%A'); ?><em><?php echo $article->date('%d'); ?></em></span>
- <h3 class="title"><?php echo $article->link($article->title); ?></h3>
- <span class="tags"><strong>tags:</strong> <?php echo join(', ', $article->tags()); ?></span>
- <?php echo $article->content(); ?>
- <span class="read-more"><?php if ($article->hasContent('extended')) echo $article->link('Continue Reading…'); ?></span>
- </div>
- <?php endforeach; ?>
- <?php $last_articles = $this->children(array('limit'=>3, offset =>9 'order'=>'page.created_on DESC')); ?>
- <?php foreach ($last_articles as $article): ?>
- <div class="entry">
- <span class="date"><?php echo $article->date('%A'); ?><em><?php echo $article->date('%d'); ?></em></span>
- <h3 class="title"><?php echo $article->link($article->title); ?></h3>
- <span class="tags"><strong>tags:</strong> <?php echo join(', ', $article->tags()); ?></span>
- <?php echo $article->content(); ?>
- <span class="read-more"><?php if ($article->hasContent('extended')) echo $article->link('Continue Reading…'); ?></span>
- </div>
- <?php endforeach; ?>
Add Comment
Please, Sign In to add comment