-
Notifications
You must be signed in to change notification settings - Fork 472
Expand file tree
/
Copy pathsidebar.php
More file actions
executable file
·21 lines (21 loc) · 797 Bytes
/
sidebar.php
File metadata and controls
executable file
·21 lines (21 loc) · 797 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<?php if (!pk_hide_sidebar()): ?>
<div id="sidebar" class="<?php pk_open_box_animated('animated fadeInRight') ?> col-lg-4 d-none d-lg-block">
<div class="sidebar-main">
<?php
if (is_home()):
pk_sidebar_check_has('sidebar_home');
elseif (is_single()):
pk_sidebar_check_has('sidebar_single');
elseif (is_search()):
pk_sidebar_check_has('sidebar_search');
elseif (is_category() || is_tag()):
pk_sidebar_check_has('sidebar_cat');
elseif (is_page()):
pk_sidebar_check_has('sidebar_page');
else:
pk_sidebar_check_has('sidebar_other');
endif;
?>
</div>
</div>
<?php endif; ?>