$blog_layout = Plethora_Theme::option('blog-layout', 'right_sidebar'); switch ( $blog_layout ) { case 'right_sidebar' : $sectionwrap_add = ' class="with_right_sidebar"'; $contentdiv_add = ' id="leftcol" class="col-sm-8 col-md-8"'; break; case 'left_sidebar' : $sectionwrap_add = ' class="with_left_sidebar"'; $contentdiv_add = ' id="rightcol" class="col-sm-8 col-md-8"'; break; default: $sectionwrap_add = ' class="with_right_sidebar"'; $contentdiv_add = ' id="leftcol" class="col-sm-8 col-md-8"'; break; } ?>