Initial commit
This commit is contained in:
34
wp-content/themes/generatepress/sidebar-left.php
Normal file
34
wp-content/themes/generatepress/sidebar-left.php
Normal file
@ -0,0 +1,34 @@
|
||||
<?php
|
||||
/**
|
||||
* The Sidebar containing the main widget areas.
|
||||
*
|
||||
* @package GeneratePress
|
||||
*/
|
||||
|
||||
if ( ! defined( 'ABSPATH' ) ) {
|
||||
exit; // Exit if accessed directly.
|
||||
}
|
||||
?>
|
||||
<div id="left-sidebar" <?php generate_do_element_classes( 'left_sidebar' ); ?> <?php generate_do_microdata( 'sidebar' ); ?>>
|
||||
<div class="inside-left-sidebar">
|
||||
<?php
|
||||
/**
|
||||
* generate_before_left_sidebar_content hook.
|
||||
*
|
||||
* @since 0.1
|
||||
*/
|
||||
do_action( 'generate_before_left_sidebar_content' );
|
||||
|
||||
if ( ! dynamic_sidebar( 'sidebar-2' ) ) {
|
||||
generate_do_default_sidebar_widgets( 'left-sidebar' );
|
||||
}
|
||||
|
||||
/**
|
||||
* generate_after_left_sidebar_content hook.
|
||||
*
|
||||
* @since 0.1
|
||||
*/
|
||||
do_action( 'generate_after_left_sidebar_content' );
|
||||
?>
|
||||
</div><!-- .inside-left-sidebar -->
|
||||
</div><!-- #secondary -->
|
Reference in New Issue
Block a user