19 lines
378 B
PHP
19 lines
378 B
PHP
<?php
|
|
/**
|
|
* The sidebar containing the main widget area
|
|
*
|
|
* @link https://developer.wordpress.org/themes/basics/template-files/#template-partials
|
|
*
|
|
* @package PopularFX
|
|
*/
|
|
|
|
$enabled = popularfx_sidebar();
|
|
|
|
if(empty($enabled)){
|
|
return;
|
|
}
|
|
|
|
?>
|
|
<aside id="secondary" class="widget-area">
|
|
<?php dynamic_sidebar( 'sidebar-1' ); ?>
|
|
</aside><!-- #secondary -->
|