: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in
if ( ! defined( 'ABSPATH' ) ) {
{{if_condition_testimonial_layout_type==1}}
<div {{if_id}}id="{{id}}"{{ifend_id}} class="ln-fx {{user_class}}">{{repeater_design_1}}</div>
{{ifend_condition_testimonial_layout_type_1}}
{{if_condition_testimonial_layout_type==3}}
<amp-carousel {{if_id}}id="{{id}}"{{ifend_id}} class="testi3-slider {{user_class}}" type="slides" width="1200" height="450" layout="responsive" data-next-button-aria-label="Go to next slide"
data-previous-button-aria-label="Go to previous slide"">
{{ifend_condition_testimonial_layout_type_3}}
if ( in_array(ampforwp_get_setting('amp-design-selector'), array(1,2,3)) ) {
$designCss = '{{module-class}} amp-carousel.testi3-slider, {{module-class}} .testi-mod-blk blockquote{
{{module-class}} amp-carousel .testi-mod-3{
{{module-class}} .testi-mod-blk blockquote{
.amp-wp-content.the_content {{module-class}} .testi-mod-blk h4{
font-size: {{d3-txt-size}};
color: {{d3-aut_color_picker}};
if ( in_array(ampforwp_get_setting('amp-design-selector'), array(4)) ) {
$designCss ='{{module-class}} amp-carousel.testi3-slider .amp-carousel-button-prev{
{{module-class}} amp-carousel.testi3-slider .amp-carousel-button-next {
{{module-class}} .testi-mod-blk h4{
font-size: {{d3-txt-size}};
color: {{d3-aut_color_picker}};
{{if_condition_testimonial_layout_type==1}}
.testimonial-mod{margin:{{margin_css}};padding:{{padding_css}};}
{{module-class}} .testi-mod{
{{module-class}} .testi-cont{
{{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(3n+3){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;}
{{module-class}} .testi-mod{flex:1 0 100%;margin-right:0;}
{{ifend_condition_testimonial_layout_type_1}}
{{if_condition_testimonial_layout_type==3}}
{{module-class}} amp-carousel .testi-mod-3{
background:{{d3-tst_bg_color}};
box-shadow: 0 10px 16px 0 rgba(8, 8, 8, 0.14), 0 1px 9px 0 rgba(0,0,0,0.10);
{{module-class}} .testi-mod-3 amp-img{
{{module-class}} .testi-mod-blk blockquote {
quotes: " " "\201D" "" "";
margin: 0px 0px 30px 0px;
{{module-class}} .testi-mod-blk blockquote.blqut div p{
font-size: {{d3-tst-size}};
{{module-class}} .testi-mod-blk blockquote.blqut div{
padding: 50px 0px 0px 0px;
{{module-class}} .testi-mod-blk blockquote.blqut div:before {
{{module-class}} .testi-mod-blk blockquote.blqut div p:before {
{{module-class}} .testi-mod-blk blockquote.blqut div:after {
color:{{d3-bquote_color}};
font-family:Georgia, "Times New Roman", Times, serif;
{{module-class}} .testi-mod-blk{
{{module-class}} .testi-mod-blk span{
font-size: {{d3-dsg-size}};
{{module-class}} amp-carousel{
{{module-class}} amp-carousel.testi3-slider .amp-carousel-button-prev, {{module-class}} amp-carousel.testi3-slider .amp-carousel-button-next{
{{module-class}} amp-carousel.testi3-slider .amp-carousel-button-prev{
{{module-class}} amp-carousel.testi3-slider .amp-carousel-button-next {
{{module-class}} .testi-mod-blk blockquote p:after{
{{module-class}} amp-carousel{
{{module-class}} amp-carousel .testi-mod-3{
padding:40px 30px 20px 30px;
{{module-class}} .testi-mod-blk blockquote.blqut div {
{{module-class}} amp-carousel.testi3-slider .amp-carousel-button-prev{
{{module-class}} amp-carousel.testi3-slider .amp-carousel-button-next {
{{module-class}} amp-carousel .testi-mod-3{
{{module-class}} .testi-mod-blk blockquote.blqut div p{
{{ifend_condition_testimonial_layout_type_3}}
global $redux_builder_amp;
if(ampforwp_get_setting('amp-rtl-select-option')){
.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;}
.testi-mod{width: 100%;margin-right:0}
'name' =>'testimonial-mod',
'default_tab'=> 'customizer',
'type' =>'layout-image-picker',
'name' =>"testimonial_layout_type",
'label' =>"Select Layout",
'options_details'=>array(
'demo_image'=> AMPFORWP_PLUGIN_DIR_URI.'/images/testmon-1.png'
'demo_image'=> AMPFORWP_PLUGIN_DIR_URI.'/images/testmon-3.png'
'label' =>'Author Font Size',
'required' => array('testimonial_layout_type'=> array(1,2))
'name' =>"aut_color_picker",
'label' =>'Author Text Color',
'required' => array('testimonial_layout_type'=> array(1,2))
'label' =>'Designation Font Size',
'required' => array('testimonial_layout_type'=> array(1,2))
'label' =>'Designation Text Color',
'required' => array('testimonial_layout_type'=> array(1,2))
'label' =>'Testimonial Font Size',
'required' => array('testimonial_layout_type'=> array(1,2))
'label' =>'Testimonial Color',
'required' => array('testimonial_layout_type'=> array(1,2))
'name' =>"d3-tst_bg_color",
'label' =>'Testimonial Background Color',
'required' => array('testimonial_layout_type'=> array(3))
'label' =>'Testimonial Font Size',
'required' => array('testimonial_layout_type'=> array(3))
'label' =>'Testimonial Text Color',
'required' => array('testimonial_layout_type'=> array(3))
'label' =>'Author Font Size',
'required' => array('testimonial_layout_type'=> array(3))
'name' =>"d3-aut_color_picker",
'label' =>'Author Text Color',
'required' => array('testimonial_layout_type'=> array(3))
'label' =>'Designation Font Size',
'required' => array('testimonial_layout_type'=> array(3))
'label' =>'Designation Text Color',
'required' => array('testimonial_layout_type'=> array(3))
'name' =>"d3-bquote_color",
'label' =>'Blockquote Icon Color',
'required' => array('testimonial_layout_type'=> array(3))
//Common Fields for all Designs
'front_template'=> $output,
'default' =>'Testimonial',
'name' =>"content_title",
'default' =>'Designation',