2020-04-07 13:03:04 +00:00
|
|
|
<?php
|
|
|
|
/**
|
|
|
|
* The Sidebar containing the main widget areas.
|
|
|
|
*
|
|
|
|
* @package GeneratePress
|
|
|
|
*/
|
|
|
|
|
|
|
|
if ( ! defined( 'ABSPATH' ) ) {
|
|
|
|
exit; // Exit if accessed directly.
|
|
|
|
}
|
|
|
|
?>
|
2020-10-20 15:16:18 +00:00
|
|
|
<div id="right-sidebar" <?php generate_do_element_classes( 'right_sidebar' ); ?>>
|
2020-04-07 13:03:04 +00:00
|
|
|
<div class="inside-right-sidebar">
|
|
|
|
<?php
|
|
|
|
/**
|
|
|
|
* generate_before_right_sidebar_content hook.
|
|
|
|
*
|
|
|
|
* @since 0.1
|
|
|
|
*/
|
|
|
|
do_action( 'generate_before_right_sidebar_content' );
|
|
|
|
|
|
|
|
if ( ! dynamic_sidebar( 'sidebar-1' ) ) {
|
|
|
|
generate_do_default_sidebar_widgets( 'right-sidebar' );
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* generate_after_right_sidebar_content hook.
|
|
|
|
*
|
|
|
|
* @since 0.1
|
|
|
|
*/
|
|
|
|
do_action( 'generate_after_right_sidebar_content' );
|
|
|
|
?>
|
2020-10-20 15:16:18 +00:00
|
|
|
</div>
|
|
|
|
</div>
|