> $section_title, 'post_type' => 'page' )); if( $section_title && $header_query->have_posts() ){ while( $header_query->have_posts() ){ $header_query->the_post(); ?>
'; the_title(); echo ''; echo the_content(); ?>
'; echo ' 'post', 'post_status' => 'publish', 'cat' => $team_category, 'posts_per_page' => 6, 'ignore_sticky_post' => true ); if( $team_category ){ $args[ 'cat' ] = $team_category; } $qry = new WP_Query( $args ); echo '
'; echo '
'; if( $team_title ) { business_ezone_template_header( $team_title ); } echo '
'; if( $qry->have_posts() ){ ?> have_posts() ){ $qry->the_post(); ?> '; echo '
'; echo '
'; } } endif; add_action( 'business_ezone_team', 'business_ezone_team_cb' ); if( ! function_exists( 'business_ezone_testimonial_cb' ) ) : /** * Home Page testimonials Section * * @since 1.0.1 */ function business_ezone_testimonial_cb(){ global $business_ezone_default_page; $testimonial_enable = get_theme_mod( 'business_ezone_ed_testimonials_section', '1' ); $testimonial_title = get_theme_mod( 'business_ezone_testimonials_section_title', $business_ezone_default_page ); $testimonial_category = get_theme_mod( 'business_ezone_testimonial_category' ); if( $testimonial_enable ){ $args = array( 'post_type' => 'post', 'post_status' => 'publish', 'posts_per_page' => 6, 'ignore_sticky_post' => true ); if( $testimonial_category ){ $args[ 'cat' ] = $testimonial_category; } $qry = new WP_Query( $args ); echo '
'; echo '
'; if( $testimonial_title ) { business_ezone_template_header( $testimonial_title ); } echo '
'; echo ''; echo '
'; echo '
'; } } endif; add_action( 'business_ezone_testimonial', 'business_ezone_testimonial_cb' ); if( ! function_exists( 'business_ezone_content_start' ) ) : /** * Content Start * * @since 1.0.1 */ function business_ezone_content_start(){ $class = is_404() ? 'error-holder' : 'row' ; if( ! is_page_template( 'template-home.php' ) ){ ?>
' : '
'; ( is_active_sidebar( 'right-sidebar' ) ) ? the_post_thumbnail( 'business-ezone-with-sidebar' ) : the_post_thumbnail( 'business-ezone-without-sidebar' ) ; echo ( !is_single() ) ? '' : '
' ; } } endif; if( ! function_exists( 'business_ezone_post_entry_header' ) ) : /** * Post Entry Header * * @since 1.0.1 */ function business_ezone_post_entry_header(){ ?>
', '' ); } else { the_title( '

', '

' ); } if ( 'post' === get_post_type() ) : ?>
'; } endif; if( ! function_exists( 'business_ezone_archive_entry_header' ) ) : /** * Archive Entry Header * * @since 1.0.1 */ function business_ezone_archive_entry_header(){ ?>

post_author ); ?>
';// .row /#content /.container } } endif; if( ! function_exists( 'business_ezone_footer_start' ) ) : /** * Footer Start * * @since 1.0.1 */ function business_ezone_footer_start(){ echo '
'; } endif; add_action( 'business_ezone_footer_credit', 'business_ezone_footer_credit'); if( ! function_exists( 'business_ezone_footer_end' ) ) : /** * Footer End * * @since 1.0.1 */ function business_ezone_footer_end(){ echo ''; // #colophon } endif; if( ! function_exists( 'business_ezone_page_end' ) ) : /** * Page End * * @since 1.0.1 */ function business_ezone_page_end(){ ?>