bludit/bl-themes/lingonberry/php/page.php
Hakim Zulkufli 6b08a04a5c More Lingonberry updates. Should be fully usable now.
Plugins not tested.
Sitebar plugins will never work as before. (Not included in the theme.)
2017-08-07 16:42:56 +08:00

41 lines
1.3 KiB
PHP

<div class="content section-inner">
<div class="posts">
<div class="post">
<!-- Plugins Post Begin -->
<?php Theme::plugins('pageBegin') ?>
<div class="content-inner comments-allowed">
<div class="post-header">
<?php if($Page->coverImage()) {
echo '<div class="featured-media">';
echo '<img class="attachment-post-image wp-post-image cover-image" src="'.$Page->coverImage().'" alt="Cover Image">';
echo '<div class="media-caption-container">';
echo '<a href="'.$Page->permalink().'" rel="bookmark" title="'.$Page->title().'">';
echo '<p class="media-caption">'.$Page->description().'</p>';
echo '</a>';
echo '</div>';
echo '</div> <!-- /featured-media -->';
} ?>
<h2 class="post-title"><a href="<?php echo $Page->permalink() ?>" rel="bookmark" title="<?php echo $Page->title() ?>"><?php echo $Page->title() ?></a></h2>
</div> <!-- /post-header -->
<div class="post-content">
<?php echo $Page->content() ?>
</div> <!-- /post-content -->
</div> <!-- /post content-inner -->
<div class="comments">
<!-- Post plugins -->
<?php Theme::plugins('pageEnd') ?>
</div>
</div> <!-- /post -->
<div class="clear"></div>
</div> <!-- /posts -->
</div> <!-- /content section-inner -->