{{repeater}} '; $css = ' {{if_condition_testimonial_layout_type==1}} .testimonial-mod{margin:{{margin_css}};padding:{{padding_css}};} {{module-class}} .ln-fx{width:100%;display: flex;flex-wrap: wrap;} .testi-mod{-ms-flex: 1 0 100%;margin: 0 3% 2% 0px;width: 31.3%;position: relative;color: #26292c;} {{module-class}} .testi-cont{width: 100%;padding: 30px 30px 25px 30px;font-size: {{tst-size}};background: #f4f4f4;position: relative;color:{{tst_color}};} {{module-class}} .testi-cont p{margin-bottom:5px;} .testi-cont:after{content:"";width: 0;height: 0;border-style: solid; border-width: 20px 20px 0 20px;border-color: #f4f4f4 transparent transparent transparent;bottom:-20px;position:absolute;} .testi-mod:nth-child(3),.testi-mod:nth-child(6),.testi-mod:nth-child(9){margin-right:0;} .auth-info{width:100%;display:inline-block;margin-top: 35px;margin-left:15px;} .auth-img{float:left;margin-right:15px;} .auth-img amp-img{border-radius:50%;width:50px;height:50px;} .auth-cntn{float: left;line-height: 1.8;margin-top: 2px;} .auth-cntn h5{font-size: {{txt-size}};color: {{aut_color_picker}};font-weight:500;} .auth-cntn span{font-size: {{dsg-size}};color: {{dsg_color}};font-weight:normal;} @media(max-width:768px){ .testi-mod{width: 100%;margin-right:0} } {{ifend_condition_testimonial_layout_type_1}} '; global $redux_builder_amp; if(ampforwp_get_setting('amp-rtl-select-option')){ $css .= '/** RTL CSS **/ .testi-mod{margin: 0 0 2% 3%;} .testi-mod:nth-child(3),.testi-mod:nth-child(6),.testi-mod:nth-child(9){margin-left:0;} .auth-cntn {float: right;} .auth-img {float: right;margin-left: 15px;} @media(max-width:768px){ .testi-mod{width: 100%;margin-right:0} } '; } return array( 'label' =>'Testimonial', 'name' =>'testimonial-mod', 'default_tab'=> 'customizer', 'tabs' => array( 'customizer'=>'Content', 'layout' => 'Layout', 'design'=>'Design', 'advanced' => 'Advanced' ), 'fields' => array( array( 'type' =>'layout-image-picker', 'name' =>"testimonial_layout_type", 'label' =>"Select Layout", 'tab' =>'layout', 'default' =>'1', 'options_details'=>array( array( 'value'=>'1', 'label'=>'', 'demo_image'=> AMPFORWP_PLUGIN_DIR_URI.'/images/testmon-1.png' ), ), 'content_type'=>'html', ), array( 'type' =>'text', 'name' =>"txt-size", 'label' =>'Author Font Size', 'tab' =>'design', 'default' =>'13px', 'content_type'=>'css', ), array( 'type' =>'color-picker', 'name' =>"aut_color_picker", 'label' =>'Author Text Color', 'tab' =>'design', 'default' =>'#333', 'content_type'=>'css', ), array( 'type' =>'text', 'name' =>"dsg-size", 'label' =>'Designation Font Size', 'tab' =>'design', 'default' =>'13px', 'content_type'=>'css', ), array( 'type' =>'color-picker', 'name' =>"dsg_color", 'label' =>'Designation Text Color', 'tab' =>'design', 'default' =>'#333', 'content_type'=>'css', ), array( 'type' =>'text', 'name' =>"tst-size", 'label' =>'Testimonial Font Size', 'tab' =>'design', 'default' =>'18px', 'content_type'=>'css', ), array( 'type' =>'color-picker', 'name' =>"tst_color", 'label' =>'Testimonial Color', 'tab' =>'design', 'default' =>'#333', 'content_type'=>'css', ), array( 'type' =>'text', 'name' =>"id", 'label' =>'ID', 'tab' =>'advanced', 'default' =>'', 'content_type'=>'html' ), array( 'type' =>'text', 'name' =>"user_class", 'label' =>'Class', 'tab' =>'advanced', 'default' =>'', 'content_type'=>'html' ), array( 'type' =>'spacing', 'name' =>"margin_css", 'label' =>'Margin', 'tab' =>'advanced', 'default' => array( 'top'=>'20px', 'right'=>'0px', 'bottom'=>'20px', 'left'=>'0px', ), 'content_type'=>'css', ), array( 'type' =>'spacing', 'name' =>"padding_css", 'label' =>'Padding', 'tab' =>'advanced', 'default' =>array( 'left'=>'0px', 'right'=>'0px', 'top'=>'0px', 'bottom'=>'0px' ), 'content_type'=>'css', ), ), 'front_template'=> $output, 'front_css'=> $css, 'front_common_css'=>'', 'repeater'=>array( 'tab'=>'customizer', 'fields'=>array( array( 'type' =>'text-editor', 'name' =>"content", 'label' =>'Testimonial', 'tab' =>'customizer', 'default' =>'Testimonial', 'content_type'=>'html', ), array( 'type' =>'upload', 'name' =>"img_upload", 'label' =>'Avatar', 'tab' =>'customizer', 'default' =>'', 'content_type'=>'html', ), array( 'type' =>'text', 'name' =>"content_title", 'label' =>'Author Name', 'tab' =>'design', 'default' =>'Name', 'content_type'=>'html', ), array( 'type' =>'text', 'name' =>"auth_desig", 'label' =>'Designation', 'tab' =>'design', 'default' =>'Designation', 'content_type'=>'html', ), ), 'front_template'=> '{{if_condition_testimonial_layout_type==1}}
{{content}}
{{if_img_upload}}{{ifend_img_upload}}
{{content_title}}
{{auth_desig}}
{{ifend_condition_testimonial_layout_type_1}}' ), ); ?>