-
Notifications
You must be signed in to change notification settings - Fork 0
/
category.php
59 lines (58 loc) · 2.06 KB
/
category.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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
<?php get_header(); ?>
<div id="content" class="clearfix container1160 mb_80">
<div id="main" role="main">
<header>
<div class="page-header">
<div class="container container620">
<div class="row">
<div class="col-sm-12">
<h1>Blog</h1>
</div>
</div>
</div>
</div>
</header>
<section class="section clearfix mb_60">
<div class="container container620">
<div class="row">
<div class="blog_categories col-sm-12">
<div class="small_titles mt_32 ">Categories</div>
<div class="more_info mb_30"><ul class="meson_categories"><?php wp_list_categories( 'title_li=' ); ?></ul></div>
</div>
</div>
</div>
</section>
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<article id="post-<?php the_ID(); ?>" <?php post_class('clearfix'); ?> role="article">
<section class="clearfix mb_80">
<div class="container container620">
<div class="row">
<div class="blog_title text_indent col-sm-12 mb_25 clearfix">
<h3 class="nomargin"><?php the_title(); ?></h3>
<div class="blog_date"><?php the_date('d.m.Y'); ?>, <?php the_time(); ?></div>
</div>
<div class="text_big col-sm-12 clearfix"><?php the_excerpt(); ?></div>
<div class="col-sm-12 text_indent blog_meta">
<a class="more_info" href="<?php the_permalink(); ?>">read more</a>
<div class="blog_posted mt_5">posted in <?php the_category( ' ' ); ?>, <?php comments_number( 'No Comments', '1 Comment', '% Comments' ); ?></div>
</div>
</div>
</div>
</section>
</article> <!-- end article -->
<?php endwhile; ?>
<?php else : ?>
<article id="post-not-found">
<header>
<h1><?php _e("Not Found", "wpbootstrap"); ?></h1>
</header>
<section class="post_content">
<p><?php _e("Sorry, but the requested resource was not found on this site.", "wpbootstrap"); ?></p>
</section>
<footer>
</footer>
</article>
<?php endif; ?>
</div>
</div>
<?php get_footer(); ?>