if(get_post_meta($post->ID, 'pyre_sidebar_position', true) == 'right') { $sidebar_left = 2; }