2017-07-28 19:37:06 +02:00
|
|
|
<div class="content section-inner">
|
|
|
|
<div class="posts">
|
2017-08-06 21:50:01 +02:00
|
|
|
<?php foreach($pages as $Post): ?>
|
2017-07-28 19:37:06 +02:00
|
|
|
<div class="post format-standard">
|
|
|
|
<div class="post-bubbles">
|
|
|
|
<a href="<?php echo $Post->permalink() ?>" class="format-bubble" title="<?php echo $Post->title() ?>"></a>
|
|
|
|
</div>
|
|
|
|
<div class="content-inner">
|
|
|
|
<div class="post-header">
|
|
|
|
|
|
|
|
<?php if($Post->coverImage()) {
|
|
|
|
echo '<div class="featured-media">';
|
2017-08-07 10:42:56 +02:00
|
|
|
echo '<img class="attachment-post-image wp-post-image cover-image" src="'.$Post->coverImage().'" alt="Cover Image">';
|
2017-07-28 19:37:06 +02:00
|
|
|
echo '<div class="media-caption-container">';
|
2017-08-07 10:42:56 +02:00
|
|
|
echo '<a href="'.$Post->permalink().'" rel="bookmark" title="'.$Post->title().'">';
|
|
|
|
echo '<p class="media-caption">'.$Post->description().'</p>';
|
|
|
|
echo '</a>';
|
2017-07-28 19:37:06 +02:00
|
|
|
echo '</div>';
|
|
|
|
echo '</div> <!-- /featured-media -->';
|
2017-08-07 10:42:56 +02:00
|
|
|
} ?>
|
2017-07-28 19:37:06 +02:00
|
|
|
|
|
|
|
<h2 class="post-title"><a href="<?php echo $Post->permalink() ?>" rel="bookmark" title="<?php echo $Post->title() ?>"><?php echo $Post->title() ?></a></h2>
|
|
|
|
<div class="post-meta">
|
|
|
|
|
|
|
|
<span class="post-date"><a href="<?php echo $Post->permalink() ?>" title="<?php echo $Post->date() ?>"><?php echo $Post->date() ?></a></span>
|
|
|
|
<span class="date-sep"> / </span>
|
|
|
|
<span class="post-author"><?php
|
|
|
|
if( Text::isNotEmpty($Post->user('firstName')) || Text::isNotEmpty($Post->user('lastName')) ) {
|
|
|
|
echo $Post->user('firstName').' '.$Post->user('lastName');
|
|
|
|
}
|
|
|
|
else {
|
|
|
|
echo $Post->user('username');
|
|
|
|
}
|
|
|
|
?></span>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="post-content">
|
|
|
|
<?php echo $Post->content(false) ?>
|
|
|
|
|
|
|
|
<?php if($Post->readMore()) { ?>
|
|
|
|
<a class="read-more" href="<?php echo $Post->permalink() ?>"><?php $Language->printMe('Read more') ?></a>
|
|
|
|
<?php } ?>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
<div class="clear"></div>
|
|
|
|
</div>
|
|
|
|
<div class="clear"></div>
|
|
|
|
<div class="clear"></div>
|
|
|
|
</div>
|
|
|
|
<?php endforeach; ?>
|
|
|
|
|
|
|
|
<div class="post-nav archive-nav">
|
|
|
|
<?php echo Paginator::html(); ?>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="clear"></div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|