forked from vincent3569/zpBootstrap
-
Notifications
You must be signed in to change notification settings - Fork 1
/
inc_print_news.php
25 lines (25 loc) · 971 Bytes
/
inc_print_news.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<div class="<?php echo $news_class; ?> margin-bottom-double clearfix">
<div class="post-date">
<span class="month"><?php echo zpFormattedDate('M', strtotime($_zp_current_zenpage_news->getDateTime())); ?></span>
<span class="day"><?php echo zpFormattedDate('d', strtotime($_zp_current_zenpage_news->getDateTime())); ?></span>
<span class="year"><?php echo zpFormattedDate('Y', strtotime($_zp_current_zenpage_news->getDateTime())); ?></span>
</div>
<h4 class="post-title">
<?php
if (is_NewsArticle()) {
printNewsTitle();
} else {
printNewsURL();
}
?>
</h4>
<div class="post-meta clearfix"><?php printNewsCategories('', '', 'nav nav-pills'); ?></div>
<div class="post-content clearfix">
<?php
printNewsContent();
if (is_NewsArticle()) {
printCodeblock(1);
}
?>
</div><!--/.post-content -->
</div><!--/.<?php echo $news_class; ?> -->