forked from Licoy/wordpress-theme-puock
-
Notifications
You must be signed in to change notification settings - Fork 0
/
category.php
executable file
·40 lines (30 loc) · 1.42 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
<?php get_header() ?>
<div id="content">
<div class="cat-top-info box-sw">
<div class="container">
<?php echo pk_breadcrumbs() ?>
<?php $cats = get_category_child($cat);if($cats && count($cats)>0): ?>
<div class="mt10 row pl-3 child-cat">
<?php foreach ($cats as $catItem): ?>
<div class="col-lg-2 col-md-3 col-sm-4 col-6 pl-0 text-center">
<a href="<?php echo $catItem['url'] ?>" class="a-link t-md ta3 p-block pt-2 pb-2 d-inline-block w-100 abhl">
<span><?php echo $catItem['item']->name ?></span>
</a>
</div>
<?php endforeach; ?>
</div>
<?php endif; ?>
</div>
</div>
<div class="container mt15">
<?php get_template_part('ad/global','top') ?>
<div class="row row-cols-1">
<div class="col-lg-<?php pk_hide_sidebar_out('12','8') ?> col-md-12 <?php pk_open_box_animated('animated fadeInLeft') ?> ">
<?php get_template_part('templates/module','posts') ?>
</div>
<?php get_sidebar() ?>
</div>
<?php get_template_part('ad/global','bottom') ?>
</div>
</div>
<?php get_footer() ?>