230500
This commit is contained in:
19
backup/wp/wp-content/themes/popularfx/sidebar.php
Normal file
19
backup/wp/wp-content/themes/popularfx/sidebar.php
Normal file
@@ -0,0 +1,19 @@
|
||||
<?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 -->
|
||||
Reference in New Issue
Block a user