-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathsingle.php
38 lines (37 loc) · 1.58 KB
/
single.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
26
27
28
29
30
31
32
33
34
35
36
37
<?php get_header();?>
<div id="blog" class="blog-articles container">
<div class="row">
<div class="col-lg-9">
<h1 class="blog-title"><?php echo __("Blog", 'solarus');?> - <?php echo __("Article", 'solarus');?></h1>
<?php while ( have_posts() ) : the_post();?>
<article>
<div class="article-header">
<div class="article-title">
<h1><a title="<?php echo Core::get_title($post);?>" href="<?php the_permalink();?>"><?php echo Core::get_title($post);?></a></h1>
</div>
<div class="article-metas">
<div class="date"><i class="fa fa-calendar-o"></i> <?php echo get_the_date("m-d-Y H:i:s"); ?></div>
<div class="categories"><i class="fa fa-sitemap"></i> <?php the_category();?></div>
</div>
</div>
<div class="article-body">
<div class="article-content">
<?php echo Core::get_content($post);?>
</div>
</div>
</article>
<div class="comments">
<?php comment_form(); ?>
</div>
<?php endwhile;?>
</div>
<div class="col-lg-3">
<div id="sidebar">
<ul>
<?php dynamic_sidebar('sidebar-blog');?>
</ul>
</div>
</div>
</div>
</div>
<?php get_footer();?>