Repo for divi theme so that it can be used with composer
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
 
 
 
 

11 lines
317 B

<?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;