mirror of
https://git.sindominio.net/estibadores/wordpress.git
synced 2024-11-23 02:51:06 +01:00
18 lines
400 B
PHP
18 lines
400 B
PHP
|
<?php
|
||
|
/**
|
||
|
* The sidebar containing the main widget area
|
||
|
*
|
||
|
* @link https://developer.wordpress.org/themes/basics/template-files/#template-partials
|
||
|
*
|
||
|
* @package hero
|
||
|
*/
|
||
|
|
||
|
if ( ! is_active_sidebar( 'sidebar-1' ) ) {
|
||
|
return;
|
||
|
}
|
||
|
?>
|
||
|
|
||
|
<div id="sidebar-primary" class="widget-area sidebar" role="complementary">
|
||
|
<?php dynamic_sidebar( 'sidebar-1' ); ?>
|
||
|
</div><!-- #sidebar-primary -->
|