metabox(); while (have_posts()) { the_post(); $post_id = get_the_ID(); $class = $sidebar_position == 'none' ? 'col-md-12' : 'col-md-8'; ?>