-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathsidebar.php
More file actions
48 lines (33 loc) · 810 Bytes
/
sidebar.php
File metadata and controls
48 lines (33 loc) · 810 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
40
41
42
43
44
45
46
47
48
<?php namespace Lean;
/**
* The Sidebar containing the main widget areas.
*
* @package Lean
*/
?>
<aside class="sidebar" role="complementary">
<?php do_action( 'before_sidebar' ); ?>
<?php if ( ! dynamic_sidebar( 'sidebar-1' ) ) : ?>
<aside id="search" class="widget widget__search">
<?php get_search_form(); ?>
</aside>
<aside class="widget">
<h4 class="widget___title">
<?php esc_html_e( 'Archives', _TEXT_DOMAIN_ ); ?>
</h4>
<ul>
<?php wp_get_archives( [ 'type' => 'monthly' ] ); ?>
</ul>
</aside>
<aside class="widget">
<h4 class="widget___title">
<?php esc_html_e( 'Meta', _TEXT_DOMAIN_ ); ?>
</h4>
<ul>
<?php wp_register(); ?>
<li><?php wp_loginout(); ?></li>
<?php wp_meta(); ?>
</ul>
</aside>
<?php endif; ?>
</aside>