-
Notifications
You must be signed in to change notification settings - Fork 16
Expand file tree
/
Copy pathsidebar.php
More file actions
executable file
·26 lines (23 loc) · 891 Bytes
/
sidebar.php
File metadata and controls
executable file
·26 lines (23 loc) · 891 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
<?php
/**
* @package WordPress
* @subpackage WP-Basis Theme
* @template sidebar template
* @since 0.0.1
*/
if ( ! is_active_sidebar( 'sidebar-1' ) ) {
return;
}
/*
* An <aside> is used to enclose content that is additional to the main content
* but not essential. If it were removed, the meaning of the main content should not be lost,
* but the content of the <aside> also retains its meaning.
* NOTE: the aside is placed outside of the <main> element as while its content
* is related to the content that is within the <main> element, it is not part of it
* ARIA: the landmark role "complementary" is added here as it contains supporting
* information for the main content that remains meaningful even when separated from it
*/
?>
<aside id="sidebar" class="widget-area" role="complementary">
<?php dynamic_sidebar( 'sidebar-1' ); ?>
</aside>