$sidebar_type = get_theme_mod( 'blog_sidebar_type', 'wp' ); if ( $sidebar_type == 'wp' ) { $sidebar_id = get_theme_mod( 'blog_wp_sidebar', 'consulting-right-sidebar' ); } else { $sidebar_id = get_theme_mod( 'blog_vc_sidebar' ); } if ( ! empty( $_GET['sidebar_id'] ) ) { $sidebar_id = $_GET['sidebar_id']; } $structure = consulting_get_structure( $sidebar_id, $sidebar_type, get_theme_mod( 'blog_sidebar_position', 'right' ), get_theme_mod( 'blog_layout' ) ); ?>

ef