saying about us', 'bizes') ); $description = get_theme_mod('feedback_section_description'); $total_items = get_theme_mod('feedback_total_count', 3); $content_type = get_theme_mod('feedback_content_type', 'feedback_page'); $reviewers = get_theme_mod('featured_reviewers'); $carousel_enable = get_theme_mod('feedback_carousel_enable', 0); $align = get_theme_mod('feedback_text_align', 'text-center'); $bg_image = get_theme_mod('feedback_section_bg_image', get_template_directory_uri().'/assets/img/client/1.jpg'); $parallax = get_theme_mod( 'feedback_parallax_enable', 0); $top_curve = get_theme_mod('feedback_top_cruved', 0); $botttom_curve = get_theme_mod('feedback_bottom_cruved', 0); $classes = array(); if ( 1=== $top_curve ) { $classes[] = 'top-curved'; } else { $classes[] = 'top-no-curved'; } if ( 1=== $botttom_curve ) { $classes[] = 'bottom-curved'; } else { $classes[] = 'bottom-no-curved'; } if(1===$section_enable) : ?>
data-stellar-background-ratio=".3">

'page', 'posts_per_page'=> absint( $total_items ), 'post__in' => $reviews_posts, 'orderby' =>'post__in', ); elseif( $content_type == 'feedback_post' ) : for( $i=1; $i<=$total_items; $i++ ) : $reviews_posts[] = get_theme_mod( 'feedback_post_'.$i ); endfor; $args = array ( 'post_type' => 'post', 'posts_per_page'=> absint( $total_items ), 'post__in' => $reviews_posts, 'orderby' =>'post__in', 'ignore_sticky_posts' => true, ); endif; $post_loop = new WP_Query($args); if ( $post_loop->have_posts() ) : ?>
'; $i= 0; while ($post_loop->have_posts()) : $post_loop->the_post(); $i++; $designation = get_theme_mod( 'reviewer_position_'.$i, __('Web Designer', 'bizes')); ?>

'; ?>
'; foreach( $reviewers as $reviewer ){ $image = ( isset( $reviewer['image'] ) && $reviewer['image'] ) ? $reviewer['image'] : ''; $name = ( isset( $reviewer['name'] ) && $reviewer['name'] ) ? $reviewer['name'] : ''; $quotation = ( isset( $reviewer['quote'] ) && $reviewer['quote'] ) ? $reviewer['quote'] : ''; $position = ( isset( $reviewer['position'] ) && $reviewer['position'] ) ? $reviewer['position'] : ''; ?>

'; ?>