Tan-007 /
DesignFly
| 1 | <?php |
||||
| 2 | /** |
||||
| 3 | * The sidebar containing the main widget area |
||||
| 4 | * |
||||
| 5 | * @link https://developer.wordpress.org/themes/basics/template-files/#template-partials |
||||
| 6 | * |
||||
| 7 | * @package DesignFly |
||||
| 8 | */ |
||||
| 9 | |||||
| 10 | if ( ! is_active_sidebar( 'sidebar-1' ) ) { |
||||
|
0 ignored issues
–
show
Bug
introduced
by
Loading history...
|
|||||
| 11 | return; |
||||
| 12 | } |
||||
| 13 | ?> |
||||
| 14 | |||||
| 15 | <aside id="secondary" class="widget-area"> |
||||
| 16 | <?php dynamic_sidebar( 'sidebar-1' ); ?> |
||||
|
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
Loading history...
|
|||||
| 17 | </aside><!-- #secondary --> |
||||
| 18 |