mirror of
https://github.com/KevinMidboe/rohnenedre.git
synced 2026-01-09 02:45:48 +00:00
Initial commit. State 04.2021.
This commit is contained in:
9
wp-content/themes/Divi/sidebar.php
Normal file
9
wp-content/themes/Divi/sidebar.php
Normal file
@@ -0,0 +1,9 @@
|
||||
<?php
|
||||
if ( ( is_single() || is_page() ) && 'et_full_width_page' === get_post_meta( get_the_ID(), '_et_pb_page_layout', true ) )
|
||||
return;
|
||||
|
||||
if ( is_active_sidebar( 'sidebar-1' ) ) : ?>
|
||||
<div id="sidebar">
|
||||
<?php dynamic_sidebar( 'sidebar-1' ); ?>
|
||||
</div> <!-- end #sidebar -->
|
||||
<?php endif; ?>
|
||||
Reference in New Issue
Block a user