> ID ) ){ $post_id = $post->ID; } $thebusiness_default_layout_meta = get_post_meta( $post_id, 'thebusiness-default-layout', true ); if( false != $thebusiness_default_layout_meta ) { $thebusiness_default_layout = $thebusiness_default_layout_meta; } return $thebusiness_default_layout; } endif; if ( ! function_exists( 'thebusiness_body_class' ) ) : /** * add body class * * @since theBusiness 1.0.0 * * @param null * @return null * */ function thebusiness_body_class( $thebusiness_body_classes ) { if(!is_front_page() || ( is_front_page())){ $thebusiness_default_layout = thebusiness_default_layout(); if( !empty( $thebusiness_default_layout ) ){ if( 'left-sidebar' == $thebusiness_default_layout ){ $thebusiness_body_classes[] = 'salient-left-sidebar'; } elseif( 'right-sidebar' == $thebusiness_default_layout ){ $thebusiness_body_classes[] = 'salient-right-sidebar'; } elseif( 'both-sidebar' == $thebusiness_default_layout ){ $thebusiness_body_classes[] = 'salient-both-sidebar'; } elseif( 'no-sidebar' == $thebusiness_default_layout ){ $thebusiness_body_classes[] = 'salient-no-sidebar'; } else{ $thebusiness_body_classes[] = 'salient-right-sidebar'; } } else{ $thebusiness_body_classes[] = 'salient-right-sidebar'; } } return $thebusiness_body_classes; } endif; add_action( 'body_class', 'thebusiness_body_class', 10, 1); if ( ! function_exists( 'thebusiness_before_page_start' ) ) : /** * intro loader * * @since theBusiness 1.0.0 * * @param null * @return null * */ function thebusiness_before_page_start() { global $thebusiness_customizer_all_values; /*intro loader*/ } endif; add_action( 'thebusiness_action_before', 'thebusiness_before_page_start', 10 ); if ( ! function_exists( 'thebusiness_page_start' ) ) : /** * page start * * @since theBusiness 1.0.0 * * @param null * @return null * */ function thebusiness_page_start() { ?>
'; } ?> '; } else{ echo '
'; } ?> '. esc_html(get_bloginfo('description' )).'