You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
317 B
PHTML
12 lines
317 B
PHTML
7 months ago
|
<?php
|
||
|
if ( ( is_single() || is_page() ) && in_array( get_post_meta( get_queried_object_id(), '_et_pb_page_layout', true ), array( 'et_full_width_page', 'et_no_sidebar' ) ) ) {
|
||
|
return;
|
||
|
}
|
||
|
|
||
|
if ( is_active_sidebar( 'sidebar-1' ) ) : ?>
|
||
|
<div id="sidebar">
|
||
|
<?php dynamic_sidebar( 'sidebar-1' ); ?>
|
||
|
</div>
|
||
|
<?php
|
||
|
endif;
|