* * This source file is subject to the GNU GENERAL PUBLIC LICENSE (GPL 3.0) * that is bundled with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * http://www.gnu.org/licenses/gpl-3.0.txt */wp_reset_query();$post_id = ww_get_post_id();$sidebar_option = ww_get_post_meta($post_id, 'probusiness_sidebar_option', true);$sidebar_name = ww_get_post_meta($post_id, 'probusiness_sidebar_name', true);$probusiness_sidebar_span = ww_get_post_meta($post_id, 'probusiness_sidebar_span', true);$sidebar_layout = $sidebar_option;$default_span_sidebar = ww_get_theme_option("sidebar_width");$span_class = 'span3';if ($sidebar_option == 'sidebar-no' || $sidebar_option == NULL) { return;} else { if (!empty($probusiness_sidebar_span)) { $span_class = "span" . $probusiness_sidebar_span; } else { if (!empty($default_span_sidebar)) { $span_class = "span" . $default_span_sidebar; } else { $span_class = 'span3'; } }}$choosen_sidebar = $sidebar_name;?>