ID; } $post_class = get_post_meta( $post_id, 'the_angle_sidebar_layout', true ); if(empty($post_class) && is_archive()){ $post_class = "sidebar-left"; }elseif(is_single() || is_search()){ $post_class = "sidebar-left"; } if($post_class=='sidebar-left' || $post_class=='sidebar-both'){ ?>