1 | <?php |
||||
2 | /** |
||||
3 | * The Sidebar containing the main widget areas |
||||
4 | * |
||||
5 | * @package WordPress |
||||
6 | * @subpackage Strip |
||||
7 | */ |
||||
8 | |||||
9 | if ( ! is_active_sidebar( 'sidebar' ) ) { |
||||
0 ignored issues
–
show
Bug
introduced
by
![]() |
|||||
10 | return; |
||||
11 | } |
||||
12 | ?> |
||||
13 | |||||
14 | <div id="secondary" class="widget-area" role="complementary"> |
||||
15 | |||||
16 | <div class="widget-wrap"> |
||||
17 | |||||
18 | <div class="main-sidebar"> |
||||
19 | |||||
20 | <?php dynamic_sidebar( 'sidebar' ); ?> |
||||
0 ignored issues
–
show
The function
dynamic_sidebar was not found. Maybe you did not declare it correctly or list all dependencies?
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the
![]() |
|||||
21 | |||||
22 | </div> |
||||
23 | </div><!-- .widget-wrap --> |
||||
24 | </div><!-- #secondary --> |
||||
25 |