-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcategory.php
More file actions
39 lines (39 loc) · 834 Bytes
/
Copy pathcategory.php
File metadata and controls
39 lines (39 loc) · 834 Bytes
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
<?php get_header(); ?>
<div class="section">
<div class="container" role="main">
<div class="row">
<div class="col-md-8">
<?php
if(have_posts()):
?>
<header class="archive-header">
<h2 class="archive-title">
<?php
printf(__('Kategori: %s', 'temaku'), single_cat_title('', false));
?>
</h2>
<?php
if(category_description()):
?>
<div class="archive-meta">
<?php echo category_description(); ?>
</div>
<?php
endif;
?>
</header>
<?php
while(have_posts()):
the_post();
get_template_part('content', get_post_format());
endwhile;
endif;
?>
</div>
<div class="col-md-4">
<?php get_sidebar(); ?>
</div>
</div>
</div>
</div>
<?php get_footer(); ?>