[ 'type' => 'string', 'default' => '', ], 'previewImg' => [ 'type' => 'string', 'default' => '', ], //-------------------------- // Layout //-------------------------- 'layout' => [ 'type' => 'string', 'default' => 'layout1', ], //-------------------------- // Query Setting //-------------------------- 'queryQuick' => [ 'type' => 'string', 'default' =>'', ], 'queryNumber' => [ 'type' => 'string', 'default' => 5, ], 'queryType' => [ 'type' => 'string', 'default' => 'post' ], 'queryTax' => [ 'type' => 'string', 'default' => 'category' ], 'queryTaxValue' => [ 'type' => 'string', 'default' => '[]', 'style' => [ (object)[ 'depends' => [(object)['key' => 'queryTax','condition' => '!=','value' => '']] ], ], ], 'queryRelation' => [ 'type' => 'string', 'default' => 'OR' ], 'queryCat' => [ // for compatibility 'type' => 'string', 'default' => '[]' ], 'queryTag' => [ // for compatibility 'type' => 'string', 'default' => '[]' ], 'queryOrderBy' => [ 'type' => 'string', 'default' => 'date', ], 'metaKey' => [ 'type' => 'string', 'default' => 'custom_meta_key', 'style' => [ (object)[ 'depends' => [(object)['key' => 'queryOrderBy','condition' => '==','value' => 'meta_value_num']] ], ], ], 'queryOrder' => [ 'type' => 'string', 'default' => 'desc', ], 'queryInclude' => [ 'type' => 'string', 'default' => '' ], 'queryExclude' => [ 'type' => 'string', 'default' => '' ], 'queryAuthor' => [ 'type' => 'string', 'default' => '' ], 'queryOffset' => [ 'type' => 'string', 'default' => '0', ], //-------------------------- // General Setting //-------------------------- 'titleShow' => [ 'type' => 'boolean', 'default' => true, ], 'titleStyle' => [ 'type' => 'string', 'default' => 'none', ], 'titleAnimColor' => [ 'type' => 'string', 'default' => 'black', 'style' => [ (object)[ 'depends' => [ (object)['key'=>'titleStyle','condition'=>'==','value'=>'style1'] ], 'selector'=>'{{ULTP}} .ultp-title-style1 a { cursor: pointer; text-decoration: none; display: inline; padding-bottom: 2px; transition: all 0.35s linear !important; background: linear-gradient( to bottom, {{titleAnimColor}} 0%, {{titleAnimColor}} 98% ); background-size: 0px 2px; background-repeat: no-repeat; background-position: left 100%; }' ], (object)[ 'depends' => [ (object)['key'=>'titleStyle','condition'=>'==','value'=>'style2'] ], 'selector'=>'{{ULTP}} .ultp-title-style2 a:hover { border-bottom:none; padding-bottom: 2px; background-position:0 100%; background-repeat: repeat; background-image: url("data:image/svg+xml;charset=utf8,%3Csvg id=\'squiggle-link\' xmlns=\'http://www.w3.org/2000/svg\' xmlns:xlink=\'http://www.w3.org/1999/xlink\' xmlns:ev=\'http://www.w3.org/2001/xml-events\' viewBox=\'0 0 10 18\'%3E%3Cstyle type=\'text/css\'%3E.squiggle%7Banimation:shift .5s linear infinite;%7D@keyframes shift %7Bfrom %7Btransform:translateX(-10px);%7Dto %7Btransform:translateX(0);%7D%7D%3C/style%3E%3Cpath fill=\'none\' stroke=\'{{titleAnimColor}}\' stroke-width=\'1\' class=\'squiggle\' d=\'M0,17.5 c 2.5,0,2.5,-1.5,5,-1.5 s 2.5,1.5,5,1.5 c 2.5,0,2.5,-1.5,5,-1.5 s 2.5,1.5,5,1.5\' /%3E%3C/svg%3E"); }' ], (object)[ 'depends' => [ (object)['key'=>'titleStyle','condition'=>'==','value'=>'style3'] ], 'selector'=>'{{ULTP}} .ultp-title-style3 a { text-decoration: none; $thetransition: all 1s cubic-bezier(1,.25,0,.75) 0s; position: relative; transition: all 0.35s ease-out; padding-bottom: 3px; border-bottom:none; padding-bottom: 2px; background-position:0 100%; background-repeat: repeat; background-image: url("data:image/svg+xml;charset=utf8,%3Csvg id=\'squiggle-link\' xmlns=\'http://www.w3.org/2000/svg\' xmlns:xlink=\'http://www.w3.org/1999/xlink\' xmlns:ev=\'http://www.w3.org/2001/xml-events\' viewBox=\'0 0 10 18\'%3E%3Cstyle type=\'text/css\'%3E.squiggle%7Banimation:shift .5s linear infinite;%7D@keyframes shift %7Bfrom %7Btransform:translateX(-10px);%7Dto %7Btransform:translateX(0);%7D%7D%3C/style%3E%3Cpath fill=\'none\' stroke=\'{{titleAnimColor}}\' stroke-width=\'1\' class=\'squiggle\' d=\'M0,17.5 c 2.5,0,2.5,-1.5,5,-1.5 s 2.5,1.5,5,1.5 c 2.5,0,2.5,-1.5,5,-1.5 s 2.5,1.5,5,1.5\' /%3E%3C/svg%3E"); }' ], (object)[ 'depends' => [ (object)['key'=>'titleStyle','condition'=>'==','value'=>'style4'] ], 'selector'=>'{{ULTP}} .ultp-title-style4 a { cursor: pointer; font-weight: 600; text-decoration: none; display: inline; padding-bottom: 2px; transition: all 0.3s linear !important; background: linear-gradient( to bottom, {{titleAnimColor}} 0%, {{titleAnimColor}} 98% ); background-size: 100% 2px; background-repeat: no-repeat; background-position: left 100%; }' ] , (object)[ 'depends' => [ (object)['key'=>'titleStyle','condition'=>'==','value'=>'style5'] ], 'selector'=>'{{ULTP}} .ultp-title-style5 a:hover{ text-decoration: none; transition: all 0.35s ease-out; border-bottom:none; padding-bottom: 2px; background-position:0 100%; background-repeat: repeat; background-size:auto; background-image: url("data:image/svg+xml;charset=utf8,%3Csvg id=\'squiggle-link\' xmlns=\'http://www.w3.org/2000/svg\' xmlns:xlink=\'http://www.w3.org/1999/xlink\' xmlns:ev=\'http://www.w3.org/2001/xml-events\' viewBox=\'0 0 10 18\'%3E%3Cstyle type=\'text/css\'%3E.squiggle%7Banimation:shift .5s linear infinite;%7D@keyframes shift %7Bfrom %7Btransform:translateX(-10px);%7Dto %7Btransform:translateX(0);%7D%7D%3C/style%3E%3Cpath fill=\'none\' stroke=\'{{titleAnimColor}}\' stroke-width=\'1\' class=\'squiggle\' d=\'M0,17.5 c 2.5,0,2.5,-1.5,5,-1.5 s 2.5,1.5,5,1.5 c 2.5,0,2.5,-1.5,5,-1.5 s 2.5,1.5,5,1.5\' /%3E%3C/svg%3E"); } ' ], (object)[ 'depends' => [ (object)['key'=>'titleStyle','condition'=>'==','value'=>'style5'] ], 'selector'=>'{{ULTP}} .ultp-title-style5 a { cursor: pointer; text-decoration: none; display: inline; padding-bottom: 2px; transition: all 0.3s linear !important; background: linear-gradient( to bottom, {{titleAnimColor}} 0%, {{titleAnimColor}} 98% ); background-size: 100% 2px; background-repeat: no-repeat; background-position: left 100%; }' ], (object)[ 'depends' => [ (object)['key'=>'titleStyle','condition'=>'==','value'=>'style6'] ], 'selector'=>'{{ULTP}} .ultp-title-style6 a{ background-image: linear-gradient(120deg, {{titleAnimColor}} 0%, {{titleAnimColor}} 100%); background-repeat: no-repeat; background-size: 100% 2px; background-position: 0 88%; transition: background-size 0.15s ease-in; padding: 5px 5px; }' ], (object)[ 'depends' => [ (object)['key'=>'titleStyle','condition'=>'==','value'=>'style7'] ], 'selector'=>'{{ULTP}} .ultp-title-style7 a { cursor: pointer; text-decoration: none; display: inline; padding-bottom: 2px; transition: all 0.3s linear !important; background: linear-gradient( to bottom, {{titleAnimColor}} 0%, {{titleAnimColor}} 98% ); background-size: 0px 2px; background-repeat: no-repeat; background-position: right 100%; } ' ], (object)[ 'depends' => [ (object)['key'=>'titleStyle','condition'=>'==','value'=>'style8'] ], 'selector'=>'{{ULTP}} .ultp-title-style8 a { cursor: pointer; text-decoration: none; display: inline; padding-bottom: 2px; transition: all 0.3s linear !important; background: linear-gradient( to bottom, {{titleAnimColor}} 0%, {{titleAnimColor}} 98% ); background-size: 0px 2px; background-repeat: no-repeat; background-position: center 100%; } ' ], (object)[ 'depends' => [ (object)['key'=>'titleStyle','condition'=>'==','value'=>'style9'] ], 'selector'=>'{{ULTP}} .ultp-title-style9 a { background-image: linear-gradient(120deg,{{titleAnimColor}} 0%, {{titleAnimColor}} 100%); background-repeat: no-repeat; background-size: 100% 10px; background-position: 0 88%; transition: 0.3s ease-in; padding: 3px 5px; } ' ] ], ], 'headingShow' => [ 'type' => 'boolean', 'default' => true, ], 'excerptShow' => [ 'type' => 'boolean', 'default' => true ], 'catShow' => [ 'type' => 'boolean', 'default' => true, ], 'metaShow' => [ 'type' => 'boolean', 'default' => true, ], 'showImage' => [ 'type' => 'boolean', 'default' => true, ], 'filterShow' => [ 'type' => 'boolean', 'default' => false, ], 'paginationShow' => [ 'type' => 'boolean', 'default' => false, ], 'readMore' => [ 'type' => 'boolean', 'default' => false, ], 'columnGridGap' => [ 'type' => 'object', 'default' => (object)['lg' =>'15', 'unit' =>'px'], 'style' => [ (object)[ 'selector'=>'{{ULTP}} .ultp-block-post-module2 { margin: 0 -{{columnGridGap}};} {{ULTP}} .ultp-block-post-module2 .ultp-big-post-module2, {{ULTP}} .ultp-block-post-module2 .ultp-small-post-module2 { padding: 0 {{columnGridGap}};} {{ULTP}} .ultp-block-row {grid-column-gap: {{columnGridGap}}; }' ], ], ], 'largeHeight' => [ 'type' => 'object', 'default' => (object)['lg' =>'450', 'unit' =>'px'], 'style' => [ (object)[ 'selector'=>'{{ULTP}} .ultp-big-post-module2 .ultp-block-content-wrap .ultp-block-image img {width: 100%; object-fit: cover; height: {{largeHeight}};}' ], ], ], 'contentTag' => [ 'type' => 'string', 'default' => 'div', ], 'openInTab' => [ 'type' => 'boolean', 'default' => false, ], //-------------------------- // Heading Setting/Style //-------------------------- 'headingText' => [ 'type' => 'string', 'default' => 'Post Module #2', ], 'headingURL' => [ 'type' => 'string', 'default' => '', ], 'headingBtnText' => [ 'type' => 'string', 'default' => 'View More', 'style' => [ (object)[ 'depends' => [ (object)['key'=>'headingStyle','condition'=>'==','value'=>'style11'], ], ], ], ], 'headingStyle' => [ 'type' => 'string', 'default' => 'style9', ], 'headingTag' => [ 'type' => 'string', 'default' => 'h2', ], 'headingAlign' => [ 'type' => 'string', 'default' => 'left', 'style' => [(object)['selector' => '{{ULTP}} .ultp-heading-inner, {{ULTP}} .ultp-sub-heading-inner{ text-align:{{headingAlign}}; }']] ], 'headingTypo' => [ 'type' => 'object', 'default' => (object)['openTypography' => 1,'size' => (object)['lg' => '20', 'unit' => 'px'], 'height' => (object)['lg' => '', 'unit' => 'px'],'decoration' => 'none', 'transform' => 'uppercase', 'family'=>'','weight'=>'700'], 'style' => [(object)['selector' => '{{ULTP}} .ultp-heading-wrap .ultp-heading-inner']] ], 'headingColor' => [ 'type' => 'string', 'default' => '#0e1523', 'style' => [(object)['selector'=>'{{ULTP}} .ultp-heading-wrap .ultp-heading-inner span { color:{{headingColor}}; }']], ], 'headingBorderBottomColor' => [ 'type' => 'string', 'default' => '#0e1523', 'style' => [ (object)[ 'depends' => [ (object)['key'=>'headingStyle','condition'=>'==','value'=>'style3'], ], 'selector'=>'{{ULTP}} .ultp-heading-inner { border-bottom-color:{{headingBorderBottomColor}}; }' ], (object)[ 'depends' => [ (object)['key'=>'headingStyle','condition'=>'==','value'=>'style4'], ], 'selector'=>'{{ULTP}} .ultp-heading-inner { border-color:{{headingBorderBottomColor}}; }' ], (object)[ 'depends' => [ (object)['key'=>'headingStyle','condition'=>'==','value'=>'style6'], ], 'selector'=>'{{ULTP}} .ultp-heading-inner span:before { background-color: {{headingBorderBottomColor}}; }' ], (object)[ 'depends' => [ (object)['key'=>'headingStyle','condition'=>'==','value'=>'style7'], ], 'selector'=>'{{ULTP}} .ultp-heading-inner span:before, .ultp-heading-inner span:after { background-color: {{headingBorderBottomColor}}; }' ], (object)[ 'depends' => [ (object)['key'=>'headingStyle','condition'=>'==','value'=>'style8'], ], 'selector'=>'{{ULTP}} .ultp-heading-inner:after { background-color:{{headingBorderBottomColor}}; }' ], (object)[ 'depends' => [ (object)['key'=>'headingStyle','condition'=>'==','value'=>'style9'], ], 'selector'=>'{{ULTP}} .ultp-heading-inner:before { background-color:{{headingBorderBottomColor}}; }' ], (object)[ 'depends' => [ (object)['key'=>'headingStyle','condition'=>'==','value'=>'style10'], ], 'selector'=>'{{ULTP}} .ultp-heading-inner:before { background-color:{{headingBorderBottomColor}}; }' ], (object)[ 'depends' => [ (object)['key'=>'headingStyle','condition'=>'==','value'=>'style13'], ], 'selector'=>'{{ULTP}} .ultp-heading-inner { border-color:{{headingBorderBottomColor}}; }' ], (object)[ 'depends' => [ (object)['key'=>'headingStyle','condition'=>'==','value'=>'style14'], ], 'selector'=>'{{ULTP}} .ultp-heading-inner:before { background-color:{{headingBorderBottomColor}}; }' ], (object)[ 'depends' => [ (object)['key'=>'headingStyle','condition'=>'==','value'=>'style15'], ], 'selector'=>'{{ULTP}} .ultp-heading-inner span:before { background-color:{{headingBorderBottomColor}}; }' ], (object)[ 'depends' => [ (object)['key'=>'headingStyle','condition'=>'==','value'=>'style16'], ], 'selector'=>'{{ULTP}} .ultp-heading-inner span:before { background-color:{{headingBorderBottomColor}}; }' ], (object)[ 'depends' => [ (object)['key'=>'headingStyle','condition'=>'==','value'=>'style17'], ], 'selector'=>'{{ULTP}} .ultp-heading-inner:before { background-color:{{headingBorderBottomColor}}; }' ], (object)[ 'depends' => [ (object)['key'=>'headingStyle','condition'=>'==','value'=>'style18'], ], 'selector'=>'{{ULTP}} .ultp-heading-inner:after { background-color:{{headingBorderBottomColor}}; }' ], (object)[ 'depends' => [ (object)['key'=>'headingStyle','condition'=>'==','value'=>'style19'], ], 'selector'=>'{{ULTP}} .ultp-heading-inner:before { border-color:{{headingBorderBottomColor}}; }' ], ], ], 'headingBorderBottomColor2' => [ 'type' => 'string', 'default' => '#e5e5e5', 'style' => [ (object)[ 'depends' => [ (object)['key'=>'headingStyle','condition'=>'==','value'=>'style8'], ], 'selector'=>'{{ULTP}} .ultp-heading-inner:before { background-color:{{headingBorderBottomColor2}}; }' ], (object)[ 'depends' => [ (object)['key'=>'headingStyle','condition'=>'==','value'=>'style10'], ], 'selector'=>'{{ULTP}} .ultp-heading-inner:after { background-color:{{headingBorderBottomColor2}}; }' ], (object)[ 'depends' => [ (object)['key'=>'headingStyle','condition'=>'==','value'=>'style14'], ], 'selector'=>'{{ULTP}} .ultp-heading-inner:after { background-color:{{headingBorderBottomColor2}}; }' ], (object)[ 'depends' => [ (object)['key'=>'headingStyle','condition'=>'==','value'=>'style19'], ], 'selector'=>'{{ULTP}} .ultp-heading-inner:after { background-color:{{headingBorderBottomColor2}}; }' ], ], ], 'headingBg' => [ 'type' => 'string', 'default' => '#037fff', 'style' => [ (object)[ 'depends' => [ (object)['key'=>'headingStyle','condition'=>'==','value'=>'style5'], ], 'selector'=>'{{ULTP}} .ultp-heading-style5 .ultp-heading-inner span:before { border-color:{{headingBg}} transparent transparent; } {{ULTP}} .ultp-heading-inner span { background-color:{{headingBg}}; }' ], (object)[ 'depends' => [ (object)['key'=>'headingStyle','condition'=>'==','value'=>'style2'], ], 'selector'=>'{{ULTP}} .ultp-heading-inner span { background-color:{{headingBg}}; }' ], (object)[ 'depends' => [ (object)['key'=>'headingStyle','condition'=>'==','value'=>'style3'], ], 'selector'=>'{{ULTP}} .ultp-heading-inner span { background-color:{{headingBg}}; }' ], (object)[ 'depends' => [ (object)['key'=>'headingStyle','condition'=>'==','value'=>'style12'], ], 'selector'=>'{{ULTP}} .ultp-heading-inner span { background-color:{{headingBg}}; }' ], (object)[ 'depends' => [ (object)['key'=>'headingStyle','condition'=>'==','value'=>'style13'], ], 'selector'=>'{{ULTP}} .ultp-heading-inner span { background-color:{{headingBg}}; }' ], (object)[ 'depends' => [ (object)['key'=>'headingStyle','condition'=>'==','value'=>'style18'], ], 'selector'=>'{{ULTP}} .ultp-heading-inner { background-color:{{headingBg}}; }' ], (object)[ 'depends' => [ (object)['key'=>'headingStyle','condition'=>'==','value'=>'style20'], ], 'selector'=>'{{ULTP}} .ultp-heading-inner span:before { border-color:{{headingBg}} transparent transparent; } {{ULTP}} .ultp-heading-inner { background-color:{{headingBg}}; }' ], ], ], 'headingBg2' => [ 'type' => 'string', 'default' => '#e5e5e5', 'style' => [ (object)[ 'depends' => [ (object)['key'=>'headingStyle','condition'=>'==','value'=>'style12'], ], 'selector'=>'{{ULTP}} .ultp-heading-inner { background-color:{{headingBg2}}; }' ], ], ], 'headingBtnTypo' => [ 'type' => 'object', 'default' => (object)['openTypography' => 1,'size' => (object)['lg' => '14', 'unit' => 'px'], 'height' => (object)['lg' => '', 'unit' => 'px'],'decoration' => 'none','family'=>''], 'style' => [ (object)[ 'depends' => [ (object)['key'=>'headingStyle','condition'=>'==','value'=>'style11'], ], 'selector'=>'{{ULTP}} .ultp-heading-wrap .ultp-heading-btn' ], ], ], 'headingBtnColor' => [ 'type' => 'string', 'default' => '#037fff', 'style' => [ (object)[ 'depends' => [ (object)['key'=>'headingStyle','condition'=>'==','value'=>'style11'], ], 'selector'=>'{{ULTP}} .ultp-heading-wrap .ultp-heading-btn { color:{{headingBtnColor}}; } {{ULTP}} .ultp-heading-wrap .ultp-heading-btn svg { fill:{{headingBtnColor}}; }' ], ], ], 'headingBtnHoverColor' => [ 'type' => 'string', 'default' => '#0a31da', 'style' => [ (object)[ 'depends' => [ (object)['key'=>'headingStyle','condition'=>'==','value'=>'style11'], ], 'selector'=>'{{ULTP}} .ultp-heading-wrap .ultp-heading-btn:hover { color:{{headingBtnHoverColor}}; } {{ULTP}} .ultp-heading-wrap .ultp-heading-btn:hover svg { fill:{{headingBtnHoverColor}}; }' ], ], ], 'headingBorder' => [ 'type' => 'string', 'default' => '3', 'style' => [ (object)[ 'depends' => [ (object)['key'=>'headingStyle','condition'=>'==','value'=>'style3'], ], 'selector'=>'{{ULTP}} .ultp-heading-inner { border-bottom-width:{{headingBorder}}px; }' ], (object)[ 'depends' => [ (object)['key'=>'headingStyle','condition'=>'==','value'=>'style4'], ], 'selector'=>'{{ULTP}} .ultp-heading-inner { border-width:{{headingBorder}}px; }' ], (object)[ 'depends' => [ (object)['key'=>'headingStyle','condition'=>'==','value'=>'style6'], ], 'selector'=>'{{ULTP}} .ultp-heading-inner span:before { width:{{headingBorder}}px; }' ], (object)[ 'depends' => [ (object)['key'=>'headingStyle','condition'=>'==','value'=>'style7'], ], 'selector'=>'{{ULTP}} .ultp-heading-inner span:before, .ultp-heading-inner span:after { height:{{headingBorder}}px; }' ], (object)[ 'depends' => [ (object)['key'=>'headingStyle','condition'=>'==','value'=>'style8'], ], 'selector'=>'{{ULTP}} .ultp-heading-inner:before, {{ULTP}} .ultp-heading-inner:after { height:{{headingBorder}}px; }' ], (object)[ 'depends' => [ (object)['key'=>'headingStyle','condition'=>'==','value'=>'style9'], ], 'selector'=>'{{ULTP}} .ultp-heading-inner:before { height:{{headingBorder}}px; }' ], (object)[ 'depends' => [ (object)['key'=>'headingStyle','condition'=>'==','value'=>'style10'], ], 'selector'=>'{{ULTP}} .ultp-heading-inner:before, {{ULTP}} .ultp-heading-inner:after { height:{{headingBorder}}px; }' ], (object)[ 'depends' => [ (object)['key'=>'headingStyle','condition'=>'==','value'=>'style13'], ], 'selector'=>'{{ULTP}} .ultp-heading-inner { border-width:{{headingBorder}}px; }' ], (object)[ 'depends' => [ (object)['key'=>'headingStyle','condition'=>'==','value'=>'style14'], ], 'selector'=>'{{ULTP}} .ultp-heading-inner:before, {{ULTP}} .ultp-heading-inner:after { height:{{headingBorder}}px; }' ], (object)[ 'depends' => [ (object)['key'=>'headingStyle','condition'=>'==','value'=>'style15'], ], 'selector'=>'{{ULTP}} .ultp-heading-inner span:before { height:{{headingBorder}}px; }' ], (object)[ 'depends' => [ (object)['key'=>'headingStyle','condition'=>'==','value'=>'style16'], ], 'selector'=>'{{ULTP}} .ultp-heading-inner span:before { height:{{headingBorder}}px; }' ], (object)[ 'depends' => [ (object)['key'=>'headingStyle','condition'=>'==','value'=>'style17'], ], 'selector'=>'{{ULTP}} .ultp-heading-inner:before { height:{{headingBorder}}px; }' ], (object)[ 'depends' => [ (object)['key'=>'headingStyle','condition'=>'==','value'=>'style19'], ], 'selector'=>'{{ULTP}} .ultp-heading-inner:after { width:{{headingBorder}}px; }' ], (object)[ 'depends' => [ (object)['key'=>'headingStyle','condition'=>'==','value'=>'style18'], ], 'selector'=>'{{ULTP}} .ultp-heading-inner:after { width:{{headingBorder}}px; }' ], ], ], 'headingSpacing' => [ 'type' => 'object', 'default' => (object)['lg'=>20, 'unit'=>'px'], 'style' => [(object)['selector'=>'{{ULTP}} .ultp-heading-wrap {margin-top:0; margin-bottom:{{headingSpacing}}; }']] ], 'headingRadius' => [ 'type' => 'object', 'default' => (object)['lg' =>(object)['top' => '','bottom' => '','left' => '', 'right' => '', 'unit' =>'px']], 'style' => [ (object)[ 'depends' => [ (object)['key'=>'headingStyle','condition'=>'==','value'=>'style2'], ], 'selector'=>'{{ULTP}} .ultp-heading-wrap .ultp-heading-inner span { border-radius:{{headingRadius}}; }' ], (object)[ 'depends' => [ (object)['key'=>'headingStyle','condition'=>'==','value'=>'style3'], ], 'selector'=>'{{ULTP}} .ultp-heading-wrap .ultp-heading-inner span { border-radius:{{headingRadius}}; }' ], (object)[ 'depends' => [ (object)['key'=>'headingStyle','condition'=>'==','value'=>'style4'], ], 'selector'=>'{{ULTP}} .ultp-heading-wrap .ultp-heading-inner { border-radius:{{headingRadius}}; }' ], (object)[ 'depends' => [ (object)['key'=>'headingStyle','condition'=>'==','value'=>'style5'], ], 'selector'=>'{{ULTP}} .ultp-heading-wrap .ultp-heading-inner span { border-radius:{{headingRadius}}; }' ], (object)[ 'depends' => [ (object)['key'=>'headingStyle','condition'=>'==','value'=>'style12'], ], 'selector'=>'{{ULTP}} .ultp-heading-wrap .ultp-heading-inner { border-radius:{{headingRadius}}; }' ], (object)[ 'depends' => [ (object)['key'=>'headingStyle','condition'=>'==','value'=>'style13'], ], 'selector'=>'{{ULTP}} .ultp-heading-wrap .ultp-heading-inner { border-radius:{{headingRadius}}; }' ], (object)[ 'depends' => [ (object)['key'=>'headingStyle','condition'=>'==','value'=>'style18'], ], 'selector'=>'{{ULTP}} .ultp-heading-wrap .ultp-heading-inner { border-radius:{{headingRadius}}; }' ], (object)[ 'depends' => [ (object)['key'=>'headingStyle','condition'=>'==','value'=>'style20'], ], 'selector'=>'{{ULTP}} .ultp-heading-wrap .ultp-heading-inner { border-radius:{{headingRadius}}; }' ], ] ], 'headingPadding' => [ 'type' => 'object', 'default' => (object)['lg' =>(object)['unit' =>'px']], 'style' => [ (object)[ 'depends' => [ (object)['key'=>'headingStyle','condition'=>'==','value'=>'style2'], ], 'selector'=>'{{ULTP}} .ultp-heading-wrap .ultp-heading-inner span { padding:{{headingPadding}}; }' ], (object)[ 'depends' => [ (object)['key'=>'headingStyle','condition'=>'==','value'=>'style3'], ], 'selector'=>'{{ULTP}} .ultp-heading-wrap .ultp-heading-inner span { padding:{{headingPadding}}; }' ], (object)[ 'depends' => [ (object)['key'=>'headingStyle','condition'=>'==','value'=>'style4'], ], 'selector'=>'{{ULTP}} .ultp-heading-wrap .ultp-heading-inner span { padding:{{headingPadding}}; }' ], (object)[ 'depends' => [ (object)['key'=>'headingStyle','condition'=>'==','value'=>'style5'], ], 'selector'=>'{{ULTP}} .ultp-heading-wrap .ultp-heading-inner span { padding:{{headingPadding}}; }' ], (object)[ 'depends' => [ (object)['key'=>'headingStyle','condition'=>'==','value'=>'style6'], ], 'selector'=>'{{ULTP}} .ultp-heading-wrap .ultp-heading-inner span { padding:{{headingPadding}}; }' ], (object)[ 'depends' => [ (object)['key'=>'headingStyle','condition'=>'==','value'=>'style12'], ], 'selector'=>'{{ULTP}} .ultp-heading-wrap .ultp-heading-inner span { padding:{{headingPadding}}; }' ], (object)[ 'depends' => [ (object)['key'=>'headingStyle','condition'=>'==','value'=>'style13'], ], 'selector'=>'{{ULTP}} .ultp-heading-wrap .ultp-heading-inner span { padding:{{headingPadding}}; }' ], (object)[ 'depends' => [ (object)['key'=>'headingStyle','condition'=>'==','value'=>'style18'], ], 'selector'=>'{{ULTP}} .ultp-heading-wrap .ultp-heading-inner span { padding:{{headingPadding}}; }' ], (object)[ 'depends' => [ (object)['key'=>'headingStyle','condition'=>'==','value'=>'style19'], ], 'selector'=>'{{ULTP}} .ultp-heading-wrap .ultp-heading-inner span { padding:{{headingPadding}}; }' ], (object)[ 'depends' => [ (object)['key'=>'headingStyle','condition'=>'==','value'=>'style20'], ], 'selector'=>'{{ULTP}} .ultp-heading-wrap .ultp-heading-inner span { padding:{{headingPadding}}; }' ], ] ], 'subHeadingShow' => [ 'type' => 'boolean', 'default' => false, ], 'subHeadingText' => [ 'type' => 'string', 'default' => 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer ut sem augue. Sed at felis ut enim dignissim sodales.', 'style' => [ (object)[ 'depends' => [ (object)['key'=>'subHeadingShow','condition'=>'==','value'=>true], ], ], ], ], 'subHeadingTypo' => [ 'type' => 'object', 'default' => (object)['openTypography'=>1,'size'=>(object)['lg'=>'16', 'unit'=>'px'], 'spacing'=>(object)[ 'lg'=>'0', 'unit'=>'px'], 'height'=>(object)[ 'lg'=>'27', 'unit'=>'px'],'decoration'=>'none','transform' => 'capitalize','family'=>'','weight'=>'500'], 'style' => [ (object)[ 'depends' => [ (object)['key'=>'subHeadingShow','condition'=>'==','value'=>true], ], 'selector'=>'{{ULTP}} .ultp-sub-heading div' ], ], ], 'subHeadingColor' => [ 'type' => 'string', 'default' => '#989898', 'style' => [ (object)[ 'depends' => [ (object)['key'=>'subHeadingShow','condition'=>'==','value'=>true], ], 'selector'=>'{{ULTP}} .ultp-sub-heading div{ color:{{subHeadingColor}}; }' ], ], ], 'subHeadingSpacing' => [ 'type' => 'object', 'default' => (object)['lg' =>(object)['top' => '8', 'unit' =>'px']], 'style' => [ (object)[ 'depends' => [ (object)['key'=>'subHeadingShow','condition'=>'==','value'=>true], ], 'selector'=>'{{ULTP}} div.ultp-sub-heading-inner{ margin:{{subHeadingSpacing}}; }' ], ], ], //-------------------------- // Title Setting/Style //-------------------------- 'titleTag' => [ 'type' => 'string', 'default' => 'h3', ], 'titlePosition' => [ 'type' => 'boolean', 'default' => true, ], 'titleColor' => [ 'type' => 'string', 'default' => '#0e1523', 'style' => [ (object)[ 'depends' => [ (object)['key'=>'titleShow','condition'=>'==','value'=>true], ], 'selector'=>'{{ULTP}} .ultp-block-content .ultp-block-title a { color:{{titleColor}}; }' ], ], ], 'titleHoverColor' => [ 'type' => 'string', 'default' => '#828282', 'style' => [ (object)[ 'depends' => [ (object)['key'=>'titleShow','condition'=>'==','value'=>true], ], 'selector'=>'{{ULTP}} .ultp-block-content .ultp-block-title a:hover { color:{{titleHoverColor}}; }' ], ], ], 'titleLgTypo' => [ 'type' => 'object', 'default' => (object)['openTypography'=>1,'size'=>(object)['lg'=>'24', 'unit'=>'px'], 'spacing'=>(object)[ 'lg'=>'0', 'unit'=>'px'], 'height'=>(object)[ 'lg'=>'32', 'unit'=>'px'],'decoration'=>'none','transform' => 'capitalize','family'=>'','weight'=>'500'], 'style' => [ (object)[ 'depends' => [ (object)['key'=>'titleShow','condition'=>'==','value'=>true], ], 'selector'=>'{{ULTP}} .ultp-big-post-module2 .ultp-block-item:first-child .ultp-block-title, {{ULTP}} .ultp-big-post-module2 .ultp-block-item:first-child .ultp-block-title a' ], ], ], 'titleTypo' => [ 'type' => 'object', 'default' => (object)['openTypography'=>1,'size'=>(object)['lg'=>'14', 'unit'=>'px'], 'spacing'=>(object)[ 'lg'=>'0', 'unit'=>'px'], 'height'=>(object)['lg'=>'22', 'unit'=>'px'],'transform' => 'capitalize', 'decoration'=>'none','family'=>'','weight'=>'500'], 'style' => [ (object)[ 'depends' => [ (object)['key'=>'titleShow','condition'=>'==','value'=>true], ], 'selector'=>'{{ULTP}} .ultp-small-post-module2 .ultp-block-item .ultp-block-title, {{ULTP}} .ultp-small-post-module2 .ultp-block-item .ultp-block-title a' ], ], ], 'titlePadding' => [ 'type' => 'object', 'default' => (object)['lg'=>(object)['top'=>5,'bottom'=>5, 'unit'=>'px']], 'style' => [ (object)[ 'depends' => [ (object)['key'=>'titleShow','condition'=>'==','value'=>true], ], 'selector'=>'{{ULTP}} .ultp-block-content .ultp-block-title { padding:{{titlePadding}}; }' ], ], ], 'titleLength' => [ 'type' => 'string', 'default' => 0, ], 'titleBackground' => [ 'type' => 'string', 'default' => '', 'style' => [ (object)[ 'depends' => [ (object)['key'=>'titleShow','condition'=>'==','value'=>true], ], 'selector'=>'{{ULTP}} .ultp-big-post-module2 .ultp-block-title a{ padding: 2px 7px; -webkit-box-decoration-break: clone; box-decoration-break: clone; background-color:{{titleBackground}}; }' ], ], ], //-------------------------- // Content Setting/Style //-------------------------- 'varticalAlign' => [ 'type' => 'string', 'default' => 'middle', 'style' => [ (object)[ 'depends' => [ (object)['key'=>'varticalAlign','condition'=>'==','value'=>'top'], ], 'selector'=>'{{ULTP}} .ultp-block-content-top .ultp-block-content { -ms-flex-item-align: flex-start;-ms-grid-row-align: flex-start;align-self: flex-start; }' ], (object)[ 'depends' => [ (object)['key'=>'varticalAlign','condition'=>'==','value'=>'middle'], ], 'selector'=>'{{ULTP}} .ultp-block-content-middle .ultp-block-content { -ms-flex-item-align: center;-ms-grid-row-align: center;align-self: center; }' ], (object)[ 'depends' => [ (object)['key'=>'varticalAlign','condition'=>'==','value'=>'bottom'], ], 'selector'=>'{{ULTP}} .ultp-block-content-bottom .ultp-block-content { -ms-flex-item-align: flex-end;-ms-grid-row-align: flex-end;align-self: flex-end; }' ], ], ], 'showSeoMeta' => [ 'type' => 'boolean', 'default'=> false ], 'showSmallExcerpt' => [ 'type' => 'boolean', 'default'=> false, ], 'showFullExcerpt' => [ 'type' => 'boolean', 'default' => false, ], 'excerptLimit' => [ 'type' => 'string', 'default' => 20, 'style' => [ (object)[ 'depends' => [ (object)['key'=>'showFullExcerpt','condition'=>'==','value'=>false] ], ], ], ], 'excerptColor' => [ 'type' => 'string', 'default' => '#777', 'style' => [ (object)[ 'depends' => [ (object)['key'=>'excerptShow','condition'=>'==','value'=>true], ], 'selector'=>'{{ULTP}} .ultp-block-excerpt { color:{{excerptColor}}; }' ], ], ], 'excerptTypo' => [ 'type' => 'object', 'default' => (object)['openTypography' => 1,'size' => (object)['lg' =>14, 'unit' =>'px'],'height' => (object)['lg' =>20, 'unit' =>'px'], 'decoration' => 'none','family'=>''], 'style' => [ (object)[ 'depends' => [ (object)['key'=>'excerptShow','condition'=>'==','value'=>true], ], 'selector'=>'{{ULTP}} .ultp-block-excerpt, {{ULTP}} .ultp-block-excerpt p' ], ], ], 'excerptPadding' => [ 'type' => 'object', 'default' => (object)['lg' =>(object)['top' => 5,'bottom' => '', 'unit' =>'px']], 'style' => [ (object)[ 'depends' => [ (object)['key'=>'excerptShow','condition'=>'==','value'=>true], ], 'selector'=>'{{ULTP}} .ultp-block-excerpt{ padding: {{excerptPadding}}; }' ], ], ], //-------------------------- // Count Style Setting/Style //-------------------------- 'counterTypo' => [ 'type' => 'object', 'default' => (object)['openTypography' => 1, 'size' => (object)['lg' =>14, 'unit' =>'px'], 'height' => (object)['lg' =>'', 'unit' =>'px'], 'spacing' => (object)['lg' =>0, 'unit' =>'px'], 'transform' => 'capitalize', 'weight' => '400', 'decoration' => 'none','family'=>'' ], 'style' => [ (object)[ 'depends' => [ (object)['key'=>'layout','condition'=>'==','value'=>['layout4', 'layout5']], ], 'selector'=>'{{ULTP}}.wp-block-ultimate-post-post-module-2 .ultp-layout5 .ultp-small-post-module2 .ultp-block-item::before, {{ULTP}}.wp-block-ultimate-post-post-module-2 .ultp-layout4 .ultp-small-post-module2 .ultp-block-content::before' ], ], ], 'counterColor' => [ 'type' => 'string', 'default' => '#828282', 'style' => [ (object)[ 'depends' => [ (object)['key'=>'layout','condition'=>'==','value'=>['layout4', 'layout5']], ], 'selector' => '{{ULTP}}.wp-block-ultimate-post-post-module-2 .ultp-layout5 .ultp-small-post-module2 .ultp-block-item::before, {{ULTP}}.wp-block-ultimate-post-post-module-2 .ultp-layout4 .ultp-small-post-module2 .ultp-block-content::before { color:{{counterColor}}; }' ], ] ], 'counterBgColor' => [ 'type' => 'object', 'default' => (object)['openColor' => 1,'type' => 'color', 'color' => ''], 'style' => [ (object)[ 'depends' => [ (object)['key'=>'layout','condition'=>'==','value'=>['layout4', 'layout5']], ], 'selector'=>'{{ULTP}}.wp-block-ultimate-post-post-module-2 .ultp-layout5 .ultp-small-post-module2 .ultp-block-item::before, {{ULTP}}.wp-block-ultimate-post-post-module-2 .ultp-layout4 .ultp-small-post-module2 .ultp-block-content::before' ], ], ], 'counterWidth' => [ 'type' => 'string', 'default' => '', 'style' => [ (object)[ 'depends' => [ (object)['key'=>'layout','condition'=>'==','value'=>['layout4', 'layout5']], ], 'selector' => '{{ULTP}}.wp-block-ultimate-post-post-module-2 .ultp-layout5 .ultp-small-post-module2 .ultp-block-item::before, {{ULTP}}.wp-block-ultimate-post-post-module-2 .ultp-layout4 .ultp-small-post-module2 .ultp-block-content::before { width:{{counterWidth}}px; }' ], ] ], 'counterHeight' => [ 'type' => 'string', 'default' => '', 'style' => [ (object)[ 'depends' => [ (object)['key'=>'layout','condition'=>'==','value'=>['layout4', 'layout5']], ], 'selector' => '{{ULTP}}.wp-block-ultimate-post-post-module-2 .ultp-layout5 .ultp-small-post-module2 .ultp-block-item::before, {{ULTP}}.wp-block-ultimate-post-post-module-2 .ultp-layout4 .ultp-small-post-module2 .ultp-block-content::before { height:{{counterHeight}}px; }' ], ] ], 'counterBorder' => [ 'type' => 'object', 'default' => (object)['openBorder'=>0, 'width' => (object)[ 'top' => 1, 'right' => 1, 'bottom' => 1, 'left' => 1],'color' => '#009fd4','type' => 'solid' ], 'style' => [ (object)[ 'depends' => [ (object)['key'=>'layout','condition'=>'==','value'=>['layout4', 'layout5']], ], 'selector'=>'{{ULTP}}.wp-block-ultimate-post-post-module-2 .ultp-layout5 .ultp-small-post-module2 .ultp-block-item::before, {{ULTP}}.wp-block-ultimate-post-post-module-2 .ultp-layout4 .ultp-small-post-module2 .ultp-block-content::before' ], ], ], 'counterRadius' => [ 'type' => 'object', 'default' => (object)['lg' =>'', 'unit' =>'px'], 'style' => [ (object)[ 'depends' => [ (object)['key'=>'layout','condition'=>'==','value'=>['layout4', 'layout5']], ], 'selector'=>'{{ULTP}}.wp-block-ultimate-post-post-module-2 .ultp-layout5 .ultp-small-post-module2 .ultp-block-item::before, {{ULTP}}.wp-block-ultimate-post-post-module-2 .ultp-layout4 .ultp-small-post-module2 .ultp-block-content::before { border-radius:{{counterRadius}}; }' ], ], ], //-------------------------- // Category Setting/Style //-------------------------- 'showSmallCat' => [ 'type' => 'boolean', 'default' => false, ], 'catStyle' => [ 'type' => 'string', 'default' => 'classic', ], 'catPosition' => [ 'type' => 'string', 'default' => 'aboveTitle', ], 'customCatColor' => [ 'type' => 'boolean', 'default' => false, ], 'seperatorLink' => [ 'type' => 'string', 'default' => admin_url( 'edit-tags.php?taxonomy=category' ), 'style' => [ (object)[ 'depends' => [ (object)['key'=>'customCatColor','condition'=>'==','value'=>true], ] ] ] ], 'onlyCatColor' => [ 'type' => 'boolean', 'default' => false, 'style' => [ (object)[ 'depends' => [ (object)['key'=>'customCatColor','condition'=>'==','value'=>true], ] ] ] ], 'catLineWidth' => [ 'type' => 'object', 'default' => (object)['lg'=>'20'], 'style' => [ (object)[ 'depends' => [ (object)['key'=>'catStyle','condition'=>'!=','value'=>'classic'], ], 'selector' => '{{ULTP}} .ultp-category-borderRight .ultp-category-in:before, {{ULTP}} .ultp-category-borderBoth .ultp-category-in:before, {{ULTP}} .ultp-category-borderBoth .ultp-category-in:after, {{ULTP}} .ultp-category-borderLeft .ultp-category-in:before { width:{{catLineWidth}}px; }' ], ] ], 'catLineSpacing' => [ 'type' => 'object', 'default' => (object)['lg'=>'30'], 'style' => [ (object)[ 'depends' => [ (object)['key'=>'catStyle','condition'=>'!=','value'=>'classic'], ], 'selector' => '{{ULTP}} .ultp-category-borderBoth .ultp-category-in { padding-left: {{catLineSpacing}}px; padding-right: {{catLineSpacing}}px; } {{ULTP}} .ultp-category-borderLeft .ultp-category-in { padding-left: {{catLineSpacing}}px; } {{ULTP}} .ultp-category-borderRight .ultp-category-in { padding-right:{{catLineSpacing}}px; }' ], ] ], 'catLineColor' => [ 'type' => 'string', 'default' => '#828282', 'style' => [ (object)[ 'depends' => [ (object)['key'=>'catStyle','condition'=>'!=','value'=>'classic'], ], 'selector' => '{{ULTP}} .ultp-category-borderRight .ultp-category-in:before, {{ULTP}} .ultp-category-borderLeft .ultp-category-in:before, {{ULTP}} .ultp-category-borderBoth .ultp-category-in:after, {{ULTP}} .ultp-category-borderBoth .ultp-category-in:before { background:{{catLineColor}}; }' ], ] ], 'catLineHoverColor' => [ 'type' => 'string', 'default' => '#037fff', 'style' => [ (object)[ 'depends' => [ (object)['key'=>'catStyle','condition'=>'!=','value'=>'classic'], ], 'selector' => '{{ULTP}} .ultp-category-borderBoth:hover .ultp-category-in:before, {{ULTP}} .ultp-category-borderBoth:hover .ultp-category-in:after, {{ULTP}} .ultp-category-borderLeft:hover .ultp-category-in:before, {{ULTP}} .ultp-category-borderRight:hover .ultp-category-in:before { background:{{catLineHoverColor}}; }' ], ] ], 'catTypo' => [ 'type' => 'object', 'default' => (object)['openTypography' => 1, 'size' => (object)['lg' =>14, 'unit' =>'px'], 'height' => (object)['lg' =>20, 'unit' =>'px'], 'spacing' => (object)['lg' =>0, 'unit' =>'px'], 'transform' => 'capitalize', 'weight' => '400', 'decoration' => 'none','family'=>'' ], 'style' => [ (object)[ 'depends' => [ (object)['key'=>'catShow','condition'=>'==','value'=>true], ], 'selector'=>'{{ULTP}} .ultp-block-items-wrap .ultp-block-item .ultp-category-grid a' ], ], ], 'catColor' => [ 'type' => 'string', 'default' => '#037fff', 'style' => [ (object)[ 'depends' => [ (object)['key'=>'catShow','condition'=>'==','value'=>true], (object)['key'=>'customCatColor','condition'=>'!=','value'=>true], ], 'selector'=>'{{ULTP}} .ultp-block-items-wrap .ultp-block-item .ultp-category-grid a { color:{{catColor}}; }' ], ], ], 'catBgColor' => [ 'type' => 'object', 'default' => (object)['openColor' => 1,'type' => 'color', 'color' => ''], 'style' => [ (object)[ 'depends' => [ (object)['key'=>'catShow','condition'=>'==','value'=>true], (object)['key'=>'customCatColor','condition'=>'!=','value'=>true], ], 'selector'=>'{{ULTP}} .ultp-category-grid a' ], ], ], 'catBorder' => [ 'type' => 'object', 'default' => (object)['openBorder'=>0, 'width' => (object)[ 'top' => 1, 'right' => 1, 'bottom' => 1, 'left' => 1],'color' => '#009fd4','type' => 'solid' ], 'style' => [ (object)[ 'depends' => [ (object)['key'=>'catShow','condition'=>'==','value'=>true], (object)['key'=>'onlyCatColor','condition'=>'!=','value'=>true], ], 'selector'=>'{{ULTP}} .ultp-category-grid a' ], ], ], 'catRadius' => [ 'type' => 'object', 'default' => (object)['lg' =>'', 'unit' =>'px'], 'style' => [ (object)[ 'depends' => [ (object)['key'=>'catShow','condition'=>'==','value'=>true], (object)['key'=>'onlyCatColor','condition'=>'!=','value'=>true], ], 'selector'=>'{{ULTP}} .ultp-category-grid a { border-radius:{{catRadius}}; }' ], ], ], 'catHoverColor' => [ 'type' => 'string', 'default' => '#828282', 'style' => [ (object)[ 'depends' => [ (object)['key'=>'catShow','condition'=>'==','value'=>true], (object)['key'=>'customCatColor','condition'=>'!=','value'=>true], ], 'selector'=>'{{ULTP}} .ultp-block-items-wrap .ultp-category-grid a:hover { color:{{catHoverColor}}; }' ], ], ], 'catBgHoverColor' => [ 'type' => 'object', 'default' => (object)['openColor' => 1, 'type' => 'color', 'color' => ''], 'style' => [ (object)[ 'depends' => [ (object)['key'=>'catShow','condition'=>'==','value'=>true], (object)['key'=>'customCatColor','condition'=>'!=','value'=>true], ], 'selector'=>'{{ULTP}} .ultp-category-grid a:hover' ], ], ], 'catHoverBorder' => [ 'type' => 'object', 'default' => (object)['openBorder'=>0, 'width' => (object)['top' => 1, 'right' => 1, 'bottom' => 1, 'left' => 1],'color' => '#009fd4','type' => 'solid'], 'style' => [ (object)[ 'depends' => [ (object)['key'=>'catShow','condition'=>'==','value'=>true], (object)['key'=>'onlyCatColor','condition'=>'!=','value'=>true], ], 'selector'=>'{{ULTP}} .ultp-category-grid a:hover' ], ], ], 'catSacing' => [ 'type' => 'object', 'default' => (object)['lg' =>(object)['top' => 5,'bottom' => 5,'left' => 0,'right' => 0, 'unit' =>'px']], 'style' => [ (object)[ 'depends' => [ (object)['key'=>'catShow','condition'=>'==','value'=>true], ], 'selector'=>'{{ULTP}} .ultp-category-grid { margin:{{catSacing}}; }' ], ], ], 'catPadding' => [ 'type' => 'object', 'default' => (object)['lg' =>(object)['unit' =>'px']], 'style' => [ (object)[ 'depends' => [ (object)['key'=>'catShow','condition'=>'==','value'=>true], (object)['key'=>'onlyCatColor','condition'=>'!=','value'=>true], ], 'selector'=>'{{ULTP}} .ultp-category-grid a { padding:{{catPadding}}; }' ], ], ], //-------------------------- // Meta Setting/Style //-------------------------- 'showSmallMeta' => [ 'type' => 'boolean', 'default' => true, ], 'metaPosition' => [ 'type' => 'string', 'default' => 'top', ], 'metaStyle' => [ 'type' => 'string', 'default' => 'icon', ], 'metaSeparator' => [ 'type' => 'string', 'default' => 'dot', ], 'metaList' => [ 'type' => 'string', 'default' => '["metaAuthor","metaDate","metaRead"]', ], 'metaMinText' => [ 'type' => 'string', 'default' => 'min read', ], 'metaAuthorPrefix' => [ 'type' => 'string', 'default' => 'By', ], 'metaDateFormat' => [ 'type' => 'string', 'default' => 'M j, Y', ], 'metaListSmall' => [ 'type' => 'string', 'default' => '["metaAuthor","metaDate"]', ], 'metaTypo' => [ 'type' => 'object', 'default' => (object)['openTypography' => 1,'size' => (object)['lg' =>12, 'unit' =>'px'],'height' => (object)['lg' =>20, 'unit' =>'px'], 'decoration' => 'none','family'=>''], 'style' => [ (object)[ 'depends' => [ (object)['key'=>'metaShow','condition'=>'==','value'=>true], ], 'selector'=>'{{ULTP}} .ultp-block-meta span, {{ULTP}} .ultp-block-item .ultp-block-meta span a' ], ], ], 'metaColor' => [ 'type' => 'string', 'default' => '#989898', 'style' => [ (object)[ 'depends' => [ (object)['key'=>'metaShow','condition'=>'==','value'=>true], ], 'selector'=>'{{ULTP}} .ultp-block-items-wrap .ultp-block-meta span { color: {{metaColor}}; } {{ULTP}} .ultp-block-items-wrap .ultp-block-meta span svg { fill: {{metaColor}}; } {{ULTP}} .ultp-block-items-wrap .ultp-block-meta span a { color: {{metaColor}}; }{{ULTP}} .ultp-block-meta-dot span:after { background:{{metaColor}}; } {{ULTP}} .ultp-block-meta span:after { color:{{metaColor}}; }' ], ], ], 'metaHoverColor' => [ 'type' => 'string', 'default' => '#000', 'style' => [ (object)[ 'depends' => [ (object)['key'=>'metaShow','condition'=>'==','value'=>true], ], 'selector'=>'{{ULTP}} .ultp-block-items-wrap .ultp-block-meta span a:hover { color: {{metaHoverColor}}; }' ], ], ], 'metaSpacing' => [ 'type' => 'object', 'default' => (object)['lg' =>'10', 'unit' =>'px'], 'style' => [ (object)[ 'depends' => [ (object)['key'=>'metaShow','condition'=>'==','value'=>true], ], 'selector'=>'{{ULTP}} .ultp-block-meta span { margin-right:{{metaSpacing}}; } {{ULTP}} .ultp-block-meta span { padding-left: {{metaSpacing}}; } .rtl {{ULTP}} .ultp-block-meta span {margin-right:0; margin-left:{{metaSpacing}}; } .rtl {{ULTP}} .ultp-block-meta span { padding-left:0; padding-right: {{metaSpacing}}; }' ], (object)[ 'depends' => [ (object)['key'=>'metaShow','condition'=>'==','value'=>true], (object)['key'=>'contentAlign','condition'=>'==','value'=>'right'], ], 'selector'=>'{{ULTP}} .ultp-block-items-wrap .ultp-block-meta span:last-child{margin-right:0px;}' ], ], ], 'metaMargin' => [ 'type' => 'object', 'default' => (object)['lg' =>(object)['top' => '','bottom' => '0', 'left'=>'','right'=>'', 'unit' =>'px']], 'style' => [ (object)[ 'depends' => [ (object)['key'=>'metaShow','condition'=>'==','value'=>true], ], 'selector'=>'{{ULTP}} .ultp-block-meta { margin:{{metaMargin}}; }' ], ], ], 'metaPadding' => [ 'type' => 'object', 'default' => (object)['lg' =>(object)['top' => '5','bottom' => '5', 'left'=>'','right'=>'', 'unit' =>'px']], 'style' => [ (object)[ 'depends' => [ (object)['key'=>'metaShow','condition'=>'==','value'=>true], ], 'selector'=>'{{ULTP}} .ultp-block-meta { padding:{{metaPadding}}; }' ], ], ], 'metaBorder' => [ 'type' => 'object', 'default' => (object)['openBorder'=>0, 'width' => (object)['top' => 1, 'right' => '0', 'bottom' => '0', 'left' => '0'],'color' => '#009fd4','type' => 'solid'], 'style' => [ (object)[ 'depends' => [ (object)['key'=>'metaShow','condition'=>'==','value'=>true], ], 'selector'=>'{{ULTP}} .ultp-block-meta' ], ], ], 'metaBg' => [ 'type' => 'string', 'default' => '', 'style' => [ (object)[ 'depends' => [ (object)['key'=>'metaShow','condition'=>'==','value'=>true], ], 'selector'=>'{{ULTP}} .ultp-block-meta { background:{{metaBg}}; }' ], ], ], //-------------------------- // Inner Content Setting/Style //-------------------------- 'contentAlign' => [ 'type' => 'string', 'default' => "left", 'style' => [ (object)[ 'depends' => [ (object)['key'=>'contentAlign','condition'=>'==','value'=>'left'], ], 'selector'=>'{{ULTP}} .ultp-block-content { text-align:{{contentAlign}}; } {{ULTP}} .ultp-block-meta {justify-content: flex-start;}' ], (object)[ 'depends' => [ (object)['key'=>'contentAlign','condition'=>'==','value'=>'center'], ], 'selector'=>'{{ULTP}} .ultp-block-content { text-align:{{contentAlign}}; } {{ULTP}} .ultp-block-meta {justify-content: center;}' ], (object)[ 'depends' => [ (object)['key'=>'contentAlign','condition'=>'==','value'=>'right'], ], 'selector'=>'{{ULTP}} .ultp-block-content { text-align:{{contentAlign}}; } {{ULTP}} .ultp-block-meta {justify-content: flex-end;} .rtl {{ULTP}} .ultp-block-meta {justify-content: start;}' ], (object)[ 'depends' => [ (object)['key'=>'contentAlign','condition'=>'==','value'=>'right'], (object)['key'=>'readMore','condition'=>'==','value'=>true], ], 'selector'=>' .rtl {{ULTP}} .ultp-block-items-wrap .ultp-block-item .ultp-block-readmore a {display:flex; flex-direction:row-reverse;justify-content: flex-end;}' ], ], ], 'contentWrapBg' => [ 'type' => 'string', 'default' => '', 'style' => [ (object)[ 'selector'=>'{{ULTP}} .ultp-block-content-wrap { background:{{contentWrapBg}}; }' ], ], ], 'contentWrapHoverBg' => [ 'type' => 'string', 'style' => [ (object)[ 'selector'=>'{{ULTP}} .ultp-block-content-wrap:hover { background:{{contentWrapHoverBg}}; }' ], ], ], 'contentWrapBorder' => [ 'type' => 'object', 'default' => (object)['openBorder'=>0, 'width' => (object)[ 'top' => 1, 'right' => 1, 'bottom' => 1, 'left' => 1],'color' => '#009fd4','type' => 'solid' ], 'style' => [ (object)[ 'selector'=>'{{ULTP}} .ultp-block-content-wrap' ], ], ], 'contentWrapHoverBorder' => [ 'type' => 'object', 'default' => (object)['openBorder'=>0, 'width' => (object)[ 'top' => 1, 'right' => 1, 'bottom' => 1, 'left' => 1],'color' => '#009fd4','type' => 'solid' ], 'style' => [ (object)[ 'selector'=>'{{ULTP}} .ultp-block-content-wrap:hover' ], ], ], 'contentWrapRadius' => [ 'type' => 'object', 'default' => (object)['lg' =>(object)['top' => '','bottom' => '', 'unit' =>'px']], 'style' => [ (object)[ 'selector'=>'{{ULTP}} .ultp-block-content-wrap { border-radius: {{contentWrapRadius}}; }' ], ], ], 'contentWrapHoverRadius' => [ 'type' => 'object', 'default' => (object)['lg' =>(object)['top' => '','bottom' => '', 'unit' =>'px']], 'style' => [ (object)[ 'selector'=>'{{ULTP}} .ultp-block-content-wrap:hover { border-radius: {{contentWrapHoverRadius}}; }' ], ], ], 'contentWrapShadow' => [ 'type' => 'object', 'default' => (object)['openShadow' => 0, 'width' => (object)['top' => 1, 'right' => 1, 'bottom' => 1, 'left' => 1],'color' => '#009fd4'], 'style' => [ (object)[ 'selector'=>'{{ULTP}} .ultp-block-content-wrap' ], ], ], 'contentWrapHoverShadow' => [ 'type' => 'object', 'default' => (object)['openShadow' => 0, 'width' => (object)['top' => 1, 'right' => 1, 'bottom' => 1, 'left' => 1],'color' => '#009fd4'], 'style' => [ (object)[ 'selector'=>'{{ULTP}} .ultp-block-content-wrap:hover' ], ], ], 'contentWrapInnerPadding' => [ 'type' => 'object', 'default' => (object)['lg' =>(object)['top' => '','bottom' => '', 'left'=>'','right'=>'', 'unit' =>'px']], 'style' => [ (object)[ 'selector'=>'{{ULTP}} .ultp-block-content { padding: {{contentWrapInnerPadding}}; }' ], ], ], 'contentWrapPadding' => [ 'type' => 'object', 'default' => (object)['lg' =>(object)['top' => '','bottom' => '', 'left'=>'','right'=>'', 'unit' =>'px']], 'style' => [ (object)[ 'selector'=>'{{ULTP}} .ultp-block-content-wrap { padding: {{contentWrapPadding}}; }' ], ], ], //-------------------------- // Image Setting/Style //-------------------------- 'columnFlip' => [ 'type' => 'boolean', 'default' => false, ], 'imgCrop' => [ 'type' => 'string', 'default' => 'full', 'depends' => [(object)['key' => 'showImage','condition' => '==','value' => 'true']] ], 'imgCropSmall' => [ 'type' => 'string', 'default' => (ultimate_post()->get_setting('disable_image_size') == 'yes' ? 'full' : 'ultp_layout_square'), 'depends' => [(object)['key' => 'showImage','condition' => '==','value' => 'true']] ], 'imgWidth' => [ 'type' => 'object', 'default' => (object)['lg' =>'80', 'sm' =>'65', 'xs' =>'', 'unit' =>'px'], 'style' => [ (object)[ 'depends' => [ (object)['key'=>'showImage','condition'=>'==','value'=>true], ], 'selector'=>'{{ULTP}} .ultp-small-post-module2 .ultp-block-item .ultp-block-image { max-width: {{imgWidth}}; }' ], ], ], 'imgHeight' => [ 'type' => 'object', 'default' => (object)['lg' =>'', 'unit' =>'px'], 'style' => [ (object)[ 'depends' => [ (object)['key'=>'showImage','condition'=>'==','value'=>true], ], 'selector'=>'{{ULTP}} .ultp-small-post-module2 .ultp-block-item .ultp-block-image img {height: {{imgHeight}}; }' ], ], ], 'imageScale' => [ 'type' => 'string', 'default' => 'cover', 'style' => [ (object)[ 'depends' => [ (object)['key'=>'showImage','condition'=>'==','value'=>true] ], 'selector'=>'{{ULTP}} .ultp-small-post-module2 .ultp-block-item .ultp-block-image img {object-fit: {{imageScale}};}' ], ], ], 'imgAnimation' => [ 'type' => 'string', 'default' => 'opacity', ], 'imgGrayScale' => [ 'type' => 'object', 'default' => (object)['lg' =>'0', 'unit' =>'%'], 'style' => [ (object)[ 'depends' => [ (object)['key'=>'showImage','condition'=>'==','value'=>true], ], 'selector'=>'{{ULTP}} .ultp-block-image { filter: grayscale({{imgGrayScale}}); }' ], ], ], 'imgHoverGrayScale' => [ 'type' => 'object', 'default' => (object)['lg' =>'0', 'unit' =>'%'], 'style' => [ (object)[ 'depends' => [ (object)['key'=>'showImage','condition'=>'==','value'=>true], ], 'selector'=>'{{ULTP}} .ultp-block-item:hover .ultp-block-image { filter: grayscale({{imgHoverGrayScale}}); }' ], ], ], 'imgRadius' => [ 'type' => 'object', 'default' => (object)['lg' =>'', 'unit' =>'px'], 'style' => [ (object)[ 'depends' => [ (object)['key'=>'showImage','condition'=>'==','value'=>true], ], 'selector'=>'{{ULTP}} .ultp-block-image { border-radius:{{imgRadius}}; }' ], ], ], 'imgHoverRadius' => [ 'type' => 'object', 'default' => (object)['lg' =>'', 'unit' =>'px'], 'style' => [ (object)[ 'depends' => [ (object)['key'=>'showImage','condition'=>'==','value'=>true], ], 'selector'=>'{{ULTP}} .ultp-block-item:hover .ultp-block-image { border-radius:{{imgHoverRadius}}; }' ], ], ], 'imgShadow' => [ 'type' => 'object', 'default' => (object)['openShadow' => 0, 'width' => (object)['top' => 1, 'right' => 1, 'bottom' => 1, 'left' => 1],'color' => '#009fd4'], 'style' => [ (object)[ 'depends' => [ (object)['key'=>'showImage','condition'=>'==','value'=>true], ], 'selector'=>'{{ULTP}} .ultp-block-image' ], ], ], 'imgHoverShadow' => [ 'type' => 'object', 'default' => (object)['openShadow' => 0, 'width' => (object)['top' => 1, 'right' => 1, 'bottom' => 1, 'left' => 1],'color' => '#009fd4'], 'style' => [ (object)[ 'depends' => [ (object)['key'=>'showImage','condition'=>'==','value'=>true], ], 'selector'=>'{{ULTP}} .ultp-block-item:hover .ultp-block-image' ], ], ], 'imgSpacing' => [ 'type' => 'object', 'default' => (object)['lg'=>'20'], 'style' => [ (object)[ 'depends' => [ (object)['key'=>'showImage','condition'=>'==','value'=>true], (object)['key'=>'layout','condition'=>'!=','value'=>'layout2'], ], 'selector'=>'{{ULTP}} .ultp-small-post-module2 .ultp-block-item .ultp-block-image { margin-right: {{imgSpacing}}px; } .rtl {{ULTP}} .ultp-small-post-module2 .ultp-block-item .ultp-block-image { margin-right: 0; margin-left: {{imgSpacing}}px; }' ], (object)[ 'depends' => [ (object)['key'=>'showImage','condition'=>'==','value'=>true], (object)['key'=>'layout','condition'=>'==','value'=>'layout2'], ], 'selector'=>'{{ULTP}} .ultp-small-post-module2 .ultp-block-item .ultp-block-image { margin-left: {{imgSpacing}}px; } .rtl {{ULTP}} .ultp-small-post-module2 .ultp-block-item .ultp-block-image { margin-left: 0; margin-right: {{imgSpacing}}px; }' ], ], ], 'imgOverlay' => [ 'type' => 'boolean', 'default' => false, ], 'imgOverlayType' => [ 'type' => 'string', 'default' => 'default', 'style' => [ (object)[ 'depends' => [ (object)['key'=>'imgOverlay','condition'=>'==','value'=>true], ] ], ] ], 'overlayColor' => [ 'type' => 'object', 'default' => (object)['openColor' => 1, 'type' => 'color', 'color' => '#0e1523'], 'style' => [ (object)[ 'depends' => [ (object)['key'=>'imgOverlayType','condition'=>'==','value'=>'custom'], ], 'selector'=>'{{ULTP}} .ultp-block-image-custom > a::before' ], ], ], 'imgOpacity' => [ 'type' => 'string', 'default' => .7, 'style' => [ (object)[ 'depends' => [ (object)['key'=>'imgOverlayType','condition'=>'==','value'=>'custom'], ], 'selector'=>'{{ULTP}} .ultp-block-image-custom > a::before { opacity: {{imgOpacity}}; }' ], ], ], 'imgSrcset' => [ 'type' => 'boolean', 'default' => false, ], 'imgLazy' => [ 'type' => 'boolean', 'default' => false, ], //-------------------------- // Separator //-------------------------- 'separatorShow' => [ 'type' => 'boolean', 'default' => false, ], 'septColor' => [ 'type' => 'string', 'default' => '#e5e5e5', 'style' => [ (object)[ 'depends' => [ (object)['key'=>'separatorShow','condition'=>'==','value'=>true], ], 'selector'=>'{{ULTP}} .ultp-small-post-module2 .ultp-block-item:not(:last-child) { border-bottom-color:{{septColor}}; }' ], ], ], 'septStyle' => [ 'type' => 'string', 'default' => 'dashed', 'style' => [ (object)[ 'depends' => [ (object)['key'=>'separatorShow','condition'=>'==','value'=>true], ], 'selector'=>'{{ULTP}} .ultp-small-post-module2 .ultp-block-item:not(:last-child) { border-bottom-style:{{septStyle}}; }' ], ], ], 'septSize' => [ 'type' => 'string', 'default' => (object)['lg'=>'1'], 'style' => [ (object)[ 'depends' => [ (object)['key'=>'separatorShow','condition'=>'==','value'=>true], ], 'selector'=>'{{ULTP}} .ultp-small-post-module2 .ultp-block-item:not(:last-child) { border-bottom-width: {{septSize}}px; }' ], ], ], 'septSpace' => [ 'type' => 'object', 'default' => (object)['lg'=>'15'], 'style' => [ (object)[ 'selector'=>'{{ULTP}} .ultp-small-post-module2 .ultp-block-item:not(:last-child) { padding-bottom: {{septSpace}}px; } {{ULTP}} .ultp-small-post-module2 .ultp-block-item:not(:last-child) { margin-bottom: {{septSpace}}px; }' ], ], ], //-------------------------- // Read more Setting/Style //-------------------------- 'showSmallBtn' => [ 'type' => 'boolean', 'default' => false, ], 'readMoreText' => [ 'type' => 'string', 'default' => '' ], 'readMoreIcon' => [ 'type' => 'string', 'default' => 'rightArrowLg', ], 'readMoreTypo' => [ 'type' => 'object', 'default' => (object)['openTypography' => 1, 'size' => (object)['lg' =>12, 'unit' =>'px'], 'height' => (object)['lg' =>'', 'unit' =>'px'], 'spacing' => (object)['lg' =>1, 'unit' =>'px'], 'transform' => 'uppercase', 'weight' => '400', 'decoration' => 'none','family'=>'' ], 'style' => [ (object)[ 'depends' => [ (object)['key'=>'readMore','condition'=>'==','value'=>true], ], 'selector'=>'{{ULTP}} .ultp-block-items-wrap .ultp-block-item .ultp-block-readmore a' ], ], ], 'readMoreIconSize' => [ 'type' => 'object', 'default' => (object)['lg' =>'', 'unit' =>'px'], 'style' => [ (object)[ 'depends' => [ (object)['key'=>'readMore','condition'=>'==','value'=>true], ], 'selector' => '{{ULTP}} .ultp-block-readmore svg{ width:{{readMoreIconSize}}; }' ], ] ], 'readMoreColor' => [ 'type' => 'string', 'default' => '#0d1523', 'style' => [ (object)[ 'depends' => [ (object)['key'=>'readMore','condition'=>'==','value'=>true], ], 'selector'=>'{{ULTP}} .ultp-block-items-wrap .ultp-block-readmore a { color:{{readMoreColor}}; } {{ULTP}} .ultp-block-readmore a svg { fill:{{readMoreColor}}; }' ], ], ], 'readMoreBgColor' => [ 'type' => 'object', 'default' => (object)['openColor' => 0,'type' => 'color', 'color' => ''], 'style' => [ (object)[ 'depends' => [ (object)['key'=>'readMore','condition'=>'==','value'=>true], ], 'selector'=>'{{ULTP}} .ultp-block-readmore a' ], ], ], 'readMoreBorder' => [ 'type' => 'object', 'default' => (object)['openBorder'=>0, 'width' => (object)[ 'top' => 1, 'right' => 1, 'bottom' => 1, 'left' => 1],'color' => '#009fd4','type' => 'solid' ], 'style' => [ (object)[ 'depends' => [ (object)['key'=>'readMore','condition'=>'==','value'=>true], ], 'selector'=>'{{ULTP}} .ultp-block-readmore a' ], ], ], 'readMoreRadius' => [ 'type' => 'object', 'default' => (object)['lg' =>'', 'unit' =>'px'], 'style' => [ (object)[ 'depends' => [ (object)['key'=>'readMore','condition'=>'==','value'=>true], ], 'selector'=>'{{ULTP}} .ultp-block-readmore a { border-radius:{{readMoreRadius}}; }' ], ], ], 'readMoreHoverColor' => [ 'type' => 'string', 'default' => '#0c32d8', 'style' => [ (object)[ 'depends' => [ (object)['key'=>'readMore','condition'=>'==','value'=>true], ], 'selector'=>'{{ULTP}} .ultp-block-items-wrap .ultp-block-readmore a:hover { color:{{readMoreHoverColor}}; } {{ULTP}} .ultp-block-readmore a:hover svg { fill:{{readMoreHoverColor}}; }' ], ], ], 'readMoreBgHoverColor' => [ 'type' => 'object', 'default' => (object)['openColor' => 0, 'type' => 'color', 'color' => ''], 'style' => [ (object)[ 'depends' => [ (object)['key'=>'readMore','condition'=>'==','value'=>true], ], 'selector'=>'{{ULTP}} .ultp-block-readmore a:hover' ], ], ], 'readMoreHoverBorder' => [ 'type' => 'object', 'default' => (object)['openBorder'=>0, 'width' => (object)['top' => 1, 'right' => 1, 'bottom' => 1, 'left' => 1],'color' => '#009fd4','type' => 'solid'], 'style' => [ (object)[ 'depends' => [ (object)['key'=>'readMore','condition'=>'==','value'=>true], ], 'selector'=>'{{ULTP}} .ultp-block-readmore a:hover' ], ], ], 'readMoreHoverRadius' => [ 'type' => 'object', 'default' => (object)['lg' =>'', 'unit' =>'px'], 'style' => [ (object)[ 'depends' => [ (object)['key'=>'readMore','condition'=>'==','value'=>true], ], 'selector'=>'{{ULTP}} .ultp-block-readmore a:hover { border-radius:{{readMoreHoverRadius}}; }' ], ], ], 'readMoreSacing' => [ 'type' => 'object', 'default' => (object)['lg' =>(object)['top' => 15,'bottom' => '','left' => '','right' => '', 'unit' =>'px']], 'style' => [ (object)[ 'depends' => [ (object)['key'=>'readMore','condition'=>'==','value'=>true], ], 'selector'=>'{{ULTP}} .ultp-block-readmore { margin:{{readMoreSacing}}; }' ], ], ], 'readMorePadding' => [ 'type' => 'object', 'default' => (object)['lg' =>(object)['top' => '','bottom' => '','left' => '','right' => '', 'unit' =>'px']], 'style' => [ (object)[ 'depends' => [ (object)['key'=>'readMore','condition'=>'==','value'=>true], ], 'selector'=>'{{ULTP}} .ultp-block-readmore a { padding:{{readMorePadding}}; }' ], ], ], //-------------------------- // Filter Setting/Style //-------------------------- 'filterBelowTitle' => [ 'type' => 'boolean', 'default' => false, 'style' => [ (object)[ 'depends' => [ (object)['key'=>'filterShow','condition'=>'==','value'=>true], ], 'selector'=>'{{ULTP}} .ultp-heading-filter .ultp-filter-navigation { position: relative; display: block; margin: auto 0 0 0; }' ], ], ], 'filterAlign' => [ 'type' => 'object', 'default' => (object)['lg' =>''], 'style' => [ (object)[ 'depends' => [ (object)['key'=>'filterBelowTitle','condition'=>'==','value'=>true], ], 'selector'=>'{{ULTP}} .ultp-heading-filter .ultp-filter-navigation { text-align:{{filterAlign}}; }' ], ], ], 'filterType' => [ 'type' => 'string', 'default' => 'category' ], 'filterText' => [ 'type' => 'string', 'default' => 'all' ], 'filterValue' => [ 'type' => 'string', 'default' => '[]', 'style' => [ (object)[ 'depends' => [(object)['key' => 'filterType','condition' => '!=','value' => '']] ], ], ], 'filterCat' => [ // for compatibility 'type' => 'string', 'default' => '[]' ], 'filterTag' => [ // for compatibility 'type' => 'string', 'default' => '[]' ], 'fliterTypo' => [ 'type' => 'object', 'default' => (object)['openTypography' => 1,'size' => (object)['lg' =>14, 'unit' =>'px'],'height' => (object)['lg' =>22, 'unit' =>'px'], 'decoration' => 'none','family'=>'','weight'=>500], 'style' => [ (object)[ 'depends' => [ (object)['key'=>'filterShow','condition'=>'==','value'=>true], ], 'selector'=>'{{ULTP}} .ultp-filter-navigation .ultp-filter-wrap ul li a' ], ], ], 'filterColor' => [ 'type' => 'string', 'default' => '#0e1523', 'style' => [ (object)[ 'depends' => [ (object)['key'=>'filterShow','condition'=>'==','value'=>true], ], 'selector'=>'{{ULTP}} .ultp-filter-navigation .ultp-filter-wrap ul li a { color:{{filterColor}}; }' ], ], ], 'filterHoverColor' => [ 'type' => 'string', 'default' => '#828282', 'style' => [ (object)[ 'depends' => [ (object)['key'=>'filterShow','condition'=>'==','value'=>true], ], 'selector'=>'{{ULTP}} .ultp-filter-navigation .ultp-filter-navigation .ultp-filter-wrap ul li a:hover, {{ULTP}} .ultp-filter-navigation .ultp-filter-navigation .ultp-filter-wrap ul li a.filter-active { color:{{filterHoverColor}}; }' ], ], ], 'filterBgColor' => [ 'type' => 'string', 'style' => [ (object)[ 'depends' => [ (object)['key'=>'filterShow','condition'=>'==','value'=>true], ], 'selector'=>'{{ULTP}} .ultp-filter-wrap ul li.filter-item > a { background:{{filterBgColor}}; }' ], ], ], 'filterHoverBgColor' => [ 'type' => 'string', 'style' => [ (object)[ 'depends' => [ (object)['key'=>'filterShow','condition'=>'==','value'=>true], ], 'selector'=>'{{ULTP}} .ultp-filter-wrap ul li.filter-item > a:hover, {{ULTP}} .ultp-filter-wrap ul li.filter-item > a.filter-active { background:{{filterHoverBgColor}}; }' ], ], ], 'filterBorder' => [ 'type' => 'object', 'default' => (object)['openBorder'=>0, 'width' => (object)['top' => 1, 'right' => 1, 'bottom' => 1, 'left' => 1],'color' => '#009fd4','type' => 'solid'], 'style' => [ (object)[ 'depends' => [ (object)['key'=>'filterShow','condition'=>'==','value'=>true], ], 'selector'=>'{{ULTP}} .ultp-filter-wrap ul li.filter-item > a' ], ], ], 'filterHoverBorder' => [ 'type' => 'object', 'default' => (object)['openBorder'=>0, 'width' => (object)['top' => 1, 'right' => 1, 'bottom' => 1, 'left' => 1],'color' => '#009fd4','type' => 'solid'], 'style' => [ (object)[ 'depends' => [ (object)['key'=>'filterShow','condition'=>'==','value'=>true], ], 'selector'=>'{{ULTP}} .ultp-filter-wrap ul li.filter-item > a:hover' ], ], ], 'filterRadius' => [ 'type' => 'object', 'default' => (object)['lg' =>'', 'unit' =>'px'], 'style' => [ (object)[ 'depends' => [ (object)['key'=>'filterShow','condition'=>'==','value'=>true], ], 'selector'=>'{{ULTP}} .ultp-filter-wrap ul li.filter-item > a { border-radius:{{filterRadius}}; }' ], ], ], 'fliterSpacing' => [ 'type' => 'object', 'default' => (object)['lg' =>(object)['top' => '','bottom' => '', 'right' => '', 'left' => '20', 'unit' =>'px']], 'style' => [ (object)[ 'depends' => [ (object)['key'=>'filterShow','condition'=>'==','value'=>true], ], 'selector'=>'{{ULTP}} .ultp-filter-wrap ul li { margin:{{fliterSpacing}}; }' ], ], ], 'fliterPadding' => [ 'type' => 'object', 'default' => (object)['lg' =>(object)['top' => '','bottom' => '', 'unit' =>'px']], 'style' => [ (object)[ 'depends' => [ (object)['key'=>'filterShow','condition'=>'==','value'=>true], ], 'selector'=>'{{ULTP}} .ultp-filter-wrap ul li.filter-item > a { padding:{{fliterPadding}}; }' ], ], ], 'filterDropdownColor' => [ 'type' => 'string', 'default' => '#0e1523', 'style' => [ (object)[ 'depends' => [ (object)['key'=>'filterShow','condition'=>'==','value'=>true], ], 'selector'=>'{{ULTP}} .ultp-filter-wrap ul li.flexMenu-viewMore .flexMenu-popup li a { color:{{filterDropdownColor}}; }' ], ], ], 'filterDropdownHoverColor' => [ 'type' => 'string', 'default' => '#037fff', 'style' => [ (object)[ 'depends' => [ (object)['key'=>'filterShow','condition'=>'==','value'=>true], ], 'selector'=>'{{ULTP}} .ultp-filter-wrap ul li.flexMenu-viewMore .flexMenu-popup li a:hover { color:{{filterDropdownHoverColor}}; }' ], ], ], 'filterDropdownBg' => [ 'type' => 'string', 'default' => '#fff', 'style' => [ (object)[ 'depends' => [ (object)['key'=>'filterShow','condition'=>'==','value'=>true], ], 'selector'=>'{{ULTP}} .ultp-filter-wrap ul li.flexMenu-viewMore .flexMenu-popup { background:{{filterDropdownBg}}; }' ], ], ], 'filterDropdownRadius' => [ 'type' => 'object', 'default' => (object)['lg'=>'0'], 'style' => [ (object)[ 'depends' => [ (object)['key'=>'filterShow','condition'=>'==','value'=>true], ], 'selector'=>'{{ULTP}} .ultp-filter-wrap ul li.flexMenu-viewMore .flexMenu-popup { border-radius:{{filterDropdownRadius}}; }' ], ], ], 'filterDropdownPadding' => [ 'type' => 'object', 'default' => (object)['lg' =>(object)['top' => '15','bottom' => '15','left' => '20','right' => '20', 'unit' =>'px']], 'style' => [ (object)[ 'depends' => [ (object)['key'=>'filterShow','condition'=>'==','value'=>true], ], 'selector'=>'{{ULTP}} .ultp-filter-wrap ul li.flexMenu-viewMore .flexMenu-popup { padding:{{filterDropdownPadding}}; }' ], ], ], 'filterMobile' => [ 'type' => 'boolean', 'default' => true, ], 'filterMobileText' => [ 'type' => 'string', 'default' => 'More', 'style' => [ (object)[ 'depends' => [ (object)['key'=>'filterMobile','condition'=>'==','value'=>true], ] ] ] ], //-------------------------- // Pagination Setting/Style //-------------------------- 'paginationType' => [ 'type' => 'string', 'default' => 'navigation', ], 'paginationNav' => [ 'type' => 'string', 'default' => 'textArrow', 'style' => [ (object)[ 'depends' => [ (object)['key'=>'paginationType','condition'=>'==','value'=>'pagination'], ], ], ], ], 'navPosition' => [ 'type' => 'string', 'default' => 'topRight', 'style' => [ (object)[ 'depends' => [ (object)['key'=>'paginationType','condition'=>'==','value'=>'navigation'], ], ], ], ], 'pagiAlign' => [ 'type' => 'object', 'default' => (object)['lg' =>'left'], 'style' => [ (object)[ 'depends' => [ (object)['key'=>'paginationShow','condition'=>'==','value'=>true], ], 'selector'=>'{{ULTP}} .ultp-loadmore, {{ULTP}} .ultp-next-prev-wrap ul, {{ULTP}} .ultp-pagination { text-align:{{pagiAlign}}; }' ], ], ], 'pagiTypo' => [ 'type' => 'object', 'default' => (object)['openTypography' => 1,'size' => (object)['lg' =>14, 'unit' =>'px'],'height' => (object)['lg' =>20, 'unit' =>'px'], 'decoration' => 'none','family'=>''], 'style' => [ (object)[ 'depends' => [ (object)['key'=>'paginationShow','condition'=>'==','value'=>true], ], 'selector'=>'{{ULTP}} .ultp-pagination li a, {{ULTP}} .ultp-loadmore-action' ], ], ], 'pagiArrowSize' => [ 'type' => 'object', 'default' => (object)['lg'=>'14'], 'style' => [ (object)[ 'depends' => [ (object)['key'=>'paginationType','condition'=>'==','value'=>'navigation'], ], 'selector'=>'{{ULTP}} .ultp-next-prev-wrap ul li a svg { width:{{pagiArrowSize}}px; }' ], ], ], 'pagiColor' => [ 'type' => 'string', 'default' => '#fff', 'style' => [ (object)[ 'depends' => [ (object)['key'=>'paginationShow','condition'=>'==','value'=>true], ], 'selector'=>'{{ULTP}} .ultp-pagination li a, {{ULTP}} .ultp-next-prev-wrap ul li a, {{ULTP}} .ultp-block-wrapper .ultp-loadmore .ultp-loadmore-action { color:{{pagiColor}}; } {{ULTP}} .ultp-next-prev-wrap ul li a svg { fill:{{pagiColor}}; } {{ULTP}} .ultp-pagination li a svg { fill:{{pagiColor}}; }' ], ], ], 'pagiBgColor' => [ 'type' => 'object', 'default' => (object)['openColor' => 1, 'type' => 'color', 'color' => '#0e1523'], 'style' => [ (object)[ 'depends' => [ (object)['key'=>'paginationShow','condition'=>'==','value'=>true], ], 'selector'=>'{{ULTP}} .ultp-pagination li a, {{ULTP}} .ultp-next-prev-wrap ul li a, {{ULTP}} .ultp-loadmore .ultp-loadmore-action' ], ], ], 'pagiBorder' => [ 'type' => 'object', 'default' => (object)['openBorder'=>0, 'width' => (object)['top' => 1, 'right' => 1, 'bottom' => 1, 'left' => 1],'color' => '#009fd4','type' => 'solid'], 'style' => [ (object)[ 'depends' => [ (object)['key'=>'paginationShow','condition'=>'==','value'=>true], ], 'selector'=>'{{ULTP}} .ultp-pagination li a, {{ULTP}} .ultp-next-prev-wrap ul li a, {{ULTP}} .ultp-loadmore-action' ], ], ], 'pagiShadow' => [ 'type' => 'object', 'default' => (object)['openShadow' => 0, 'width' => (object)['top' => 1, 'right' => 1, 'bottom' => 1, 'left' => 1],'color' => '#009fd4'], 'style' => [ (object)[ 'depends' => [ (object)['key'=>'paginationShow','condition'=>'==','value'=>true], ], 'selector'=>'{{ULTP}} .ultp-pagination li a, {{ULTP}} .ultp-next-prev-wrap ul li a, {{ULTP}} .ultp-loadmore-action' ], ], ], 'pagiRadius' => [ 'type' => 'object', 'default' => (object)['lg' =>(object)['top' => '2','bottom' => '2','left' => '2','right' => '2', 'unit' =>'px']], 'style' => [ (object)[ 'depends' => [ (object)['key'=>'paginationShow','condition'=>'==','value'=>true], ], 'selector'=>'{{ULTP}} .ultp-pagination li a, {{ULTP}} .ultp-next-prev-wrap ul li a, {{ULTP}} .ultp-loadmore-action { border-radius:{{pagiRadius}}; }' ], ], ], 'pagiHoverColor' => [ 'type' => 'string', 'default' => '#fff', 'style' => [ (object)[ 'depends' => [ (object)['key'=>'paginationShow','condition'=>'==','value'=>true], ], 'selector'=>'{{ULTP}} .ultp-pagination li.pagination-active a, {{ULTP}} .ultp-next-prev-wrap ul li a:hover, {{ULTP}} .ultp-block-wrapper .ultp-loadmore .ultp-loadmore-action:hover { color:{{pagiHoverColor}}; } {{ULTP}} .ultp-pagination li a:hover svg { fill:{{pagiHoverColor}}; } {{ULTP}} .ultp-next-prev-wrap ul li a:hover svg { fill:{{pagiHoverColor}}; } @media (min-width: 768px) { {{ULTP}} .ultp-pagination li a:hover { color:{{pagiHoverColor}};}}' ], ], ], 'pagiHoverbg' => [ 'type' => 'object', 'default' => (object)['openColor' => 1, 'type' => 'color', 'color' => '#037fff','replace'=>1], 'style' => [ (object)[ 'depends' => [ (object)['key'=>'paginationShow','condition'=>'==','value'=>true], ], 'selector'=>'{{ULTP}} .ultp-pagination li a:hover, {{ULTP}} .ultp-pagination li.pagination-active a, {{ULTP}} .ultp-pagination-wrap .ultp-pagination li a:focus, {{ULTP}} .ultp-next-prev-wrap ul li a:hover, {{ULTP}} .ultp-loadmore-action:hover{ {{pagiHoverbg}} }' ], ], ], 'pagiHoverBorder' => [ 'type' => 'object', 'default' => (object)['openBorder'=>0, 'width' => (object)['top' => 1, 'right' => 1, 'bottom' => 1, 'left' => 1],'color' => '#009fd4','type' => 'solid'], 'style' => [ (object)[ 'depends' => [ (object)['key'=>'paginationShow','condition'=>'==','value'=>true], ], 'selector'=>'{{ULTP}} .ultp-pagination li a:hover, {{ULTP}} .ultp-pagination li.pagination-active a, {{ULTP}} .ultp-next-prev-wrap ul li a:hover, {{ULTP}} .ultp-loadmore-action:hover' ], ], ], 'pagiHoverShadow' => [ 'type' => 'object', 'default' => (object)['openShadow' => 0, 'width' => (object)['top' => 1, 'right' => 1, 'bottom' => 1, 'left' => 1],'color' => '#009fd4'], 'style' => [ (object)[ 'depends' => [ (object)['key'=>'paginationShow','condition'=>'==','value'=>true], ], 'selector'=>'{{ULTP}} .ultp-pagination li a:hover, {{ULTP}} .ultp-pagination li.pagination-active a, {{ULTP}} .ultp-next-prev-wrap ul li a:hover, {{ULTP}} .ultp-loadmore-action:hover' ], ], ], 'pagiHoverRadius' => [ 'type' => 'object', 'default' => (object)['lg' =>(object)['top' => '2','bottom' => '2','left' => '2','right' => '2', 'unit' =>'px']], 'style' => [ (object)[ 'depends' => [ (object)['key'=>'paginationShow','condition'=>'==','value'=>true], ], 'selector'=>'{{ULTP}} .ultp-pagination li.pagination-active a, {{ULTP}} .ultp-pagination li a:hover, {{ULTP}} .ultp-next-prev-wrap ul li a:hover, {{ULTP}} .ultp-loadmore-action:hover { border-radius:{{pagiHoverRadius}}; }' ], ], ], 'pagiPadding' => [ 'type' => 'object', 'default' => (object)['lg' =>(object)['top' => '8','bottom' => '8','left' => '14','right' => '14', 'unit' =>'px']], 'style' => [ (object)[ 'depends' => [ (object)['key'=>'paginationShow','condition'=>'==','value'=>true], ], 'selector'=>'{{ULTP}} .ultp-pagination li a, {{ULTP}} .ultp-next-prev-wrap ul li a, {{ULTP}} .ultp-loadmore-action { padding:{{pagiPadding}}; }' ], ], ], 'navMargin' => [ 'type' => 'object', 'default' => (object)['lg' =>(object)['top' => '0', 'right' => '0', 'bottom' => '0', 'left' => '0', 'unit' =>'px']], 'style' => [ (object)[ 'depends' => [ (object)['key'=>'paginationType','condition'=>'==','value'=>'navigation'], ], 'selector'=>'{{ULTP}} .ultp-next-prev-wrap ul { margin:{{navMargin}}; }' ], ], ], //-------------------------- // Wrapper Style //-------------------------- 'loadingColor' => [ 'type' => 'string', 'default' => '#000', 'style' => [ (object)[ 'selector'=>'{{ULTP}} .ultp-loading .ultp-loading-blocks div { --loading-block-color: {{loadingColor}}; }' ], ], ], 'wrapBg' => [ 'type' => 'object', 'default' => (object)['openColor' => 0, 'type' => 'color', 'color' => '#f5f5f5'], 'style' => [ (object)[ 'selector'=>'{{ULTP}} .ultp-block-wrapper' ], ], ], 'wrapBorder' => [ 'type' => 'object', 'default' => (object)['openBorder'=>0, 'width' =>(object)['top' => 1, 'right' => 1, 'bottom' => 1, 'left' => 1],'color' => '#009fd4','type' => 'solid'], 'style' => [ (object)[ 'selector'=>'{{ULTP}} .ultp-block-wrapper' ], ], ], 'wrapShadow' => [ 'type' => 'object', 'default' => (object)['openShadow' => 0, 'width' => (object)['top' => 1, 'right' => 1, 'bottom' => 1, 'left' => 1],'color' => '#009fd4'], 'style' => [ (object)[ 'selector'=>'{{ULTP}} .ultp-block-wrapper' ], ], ], 'wrapRadius' => [ 'type' => 'object', 'default' => (object)['lg' =>'', 'unit' =>'px'], 'style' => [ (object)[ 'selector'=>'{{ULTP}} .ultp-block-wrapper { border-radius:{{wrapRadius}}; }' ], ], ], 'wrapHoverBackground' => [ 'type' => 'object', 'default' => (object)['openColor' => 0, 'type' => 'color', 'color' => '#037fff'], 'style' => [ (object)[ 'selector'=>'{{ULTP}} .ultp-block-wrapper:hover' ], ], ], 'wrapHoverBorder' => [ 'type' => 'object', 'default' => (object)['openBorder'=>0, 'width' => (object)['top' => 1, 'right' => 1, 'bottom' => 1, 'left' => 1],'color' => '#009fd4','type' => 'solid'], 'style' => [ (object)[ 'selector'=>'{{ULTP}} .ultp-block-wrapper:hover' ], ], ], 'wrapHoverRadius' => [ 'type' => 'object', 'default' => (object)['lg' =>'', 'unit' =>'px'], 'style' => [ (object)[ 'selector'=>'{{ULTP}} .ultp-block-wrapper:hover { border-radius:{{wrapHoverRadius}}; }' ], ], ], 'wrapHoverShadow' => [ 'type' => 'object', 'default' => (object)['openShadow' => 0, 'width' => (object)['top' => 1, 'right' => 1, 'bottom' => 1, 'left' => 1],'color' => '#009fd4'], 'style' => [ (object)[ 'selector'=>'{{ULTP}} .ultp-block-wrapper:hover' ], ], ], 'wrapMargin' => [ 'type' => 'object', 'default' => (object)['lg' =>(object)['top' => '','bottom' => '', 'unit' =>'px']], 'style' => [ (object)[ 'selector'=>'{{ULTP}} .ultp-block-wrapper { margin:{{wrapMargin}}; }' ], ], ], 'wrapOuterPadding' => [ 'type' => 'object', 'default' => (object)['lg' =>(object)['top' => '','bottom' => '','left' => '', 'right' => '', 'unit' =>'px']], 'style' => [ (object)[ 'selector'=>'{{ULTP}} .ultp-block-wrapper { padding:{{wrapOuterPadding}}; }' ], ], ], 'wrapInnerPadding' => [ 'type' => 'object', 'default' => (object)['lg' =>(object)['unit' =>'px']], 'style' => [ (object)[ 'selector'=>'{{ULTP}} .ultp-block-wrapper { padding:{{wrapInnerPadding}}; }' ], ], ], 'advanceId' => [ 'type' => 'string', 'default' => '', ], 'advanceZindex' => [ 'type' => 'number', 'default' => '', 'style' => [ (object)[ 'selector' => '{{ULTP}} {z-index:{{advanceZindex}};}' ], ], ], 'hideExtraLarge' => [ 'type' => 'boolean', 'default' => false, 'style' => [ (object)[ 'selector' => '{{ULTP}} {display:none;}' ], ], ], 'hideTablet' => [ 'type' => 'boolean', 'default' => false, 'style' => [ (object)[ 'selector' => '{{ULTP}} {display:none;}' ], ], ], 'hideMobile' => [ 'type' => 'boolean', 'default' => false, 'style' => [ (object)[ 'selector' => '{{ULTP}} {display:none;}' ], ], ], 'advanceCss' => [ 'type' => 'string', 'default' => '', 'style' => [(object)['selector' => '']], ] ); if( $default ){ $temp = array(); foreach ($attributes as $key => $value) { if( isset($value['default']) ){ $temp[$key] = $value['default']; } } return $temp; }else{ return $attributes; } } public function register() { register_block_type( 'ultimate-post/post-module-2', array( 'title' => __('Post Module #2', 'ultimate-post'), 'attributes' => $this->get_attributes(), 'render_callback' => array($this, 'content') ) ); } public function content($attr, $noAjax) { if(!$noAjax){ $paged = is_front_page() ? get_query_var('page') : get_query_var('paged'); $attr['paged'] = $paged ? $paged : 1; } $block_name = 'post-module-2'; $page_post_id = ultimate_post()->get_ID(); $wraper_before = $wraper_after = $post_loop = ''; $recent_posts = new \WP_Query( ultimate_post()->get_query( $attr ) ); $pageNum = ultimate_post()->get_page_number($attr, $recent_posts->found_posts); if ($recent_posts->have_posts()) { $wraper_before .= '
'; $wraper_before .= '
'; // Loading $wraper_before .= ultimate_post()->loading(); if ($attr['headingShow'] || $attr['filterShow'] || $attr['paginationShow']) { $wraper_before .= '
'; $wraper_before .= '
'; // Heading include ULTP_PATH.'blocks/template/heading.php'; if ($attr['filterShow'] || $attr['paginationShow']) { $wraper_before .= '
'; // Filter if($attr['filterShow']) { include ULTP_PATH.'blocks/template/filter.php'; } // Navigation if($attr['paginationShow'] && ($attr['paginationType'] == 'navigation') && ($attr['navPosition'] == 'topRight')) { include ULTP_PATH.'blocks/template/navigation-before.php'; } $wraper_before .= '
'; } $wraper_before .= '
'; $wraper_before .= '
'; } $wraper_before .= '
'; $idx = 0; // $idx = $noAjax ? 1 : 0; while ( $recent_posts->have_posts() ): $recent_posts->the_post(); include ULTP_PATH.'blocks/template/data.php'; include ULTP_PATH.'blocks/template/category.php'; $post_loop .= '<'.$attr['contentTag'].' class="ultp-block-item post-id-'.$post_id.'">'; $post_loop .= '
'; if( has_post_thumbnail() && $attr['showImage'] && ($idx == 0 || ($attr['layout'] == 'layout2') || ($attr['layout'] == 'layout3') || ($attr['layout'] == 'layout5') ) ){ $post_loop .= '
'; if ($idx == 0) { $post_loop .= ''.ultimate_post()->get_image($post_thumb_id, $attr['imgCrop'], '', $title, $attr['imgSrcset'], $attr['imgLazy']).''; } else { if(($attr['layout'] == 'layout2') || ($attr['layout'] === 'layout3') || ($attr['layout'] === 'layout5')){ $post_loop .= ''.ultimate_post()->get_image($post_thumb_id, $attr['imgCropSmall'], '', $title, $attr['imgSrcset'], $attr['imgLazy']).''; } } if( ($attr['catPosition'] != 'aboveTitle') && ($idx == 0 || $attr['showSmallCat']) && $attr['catShow'] ) { $post_loop .= '
'.$category.'
'; } $post_loop .= '
'; } $post_loop .= '
'; // Category if(($attr['catPosition'] == 'aboveTitle') && ($idx == 0 || $attr['showSmallCat'] ) && $attr['catShow']) { $post_loop .= $category; } // Title if ($title && $attr['titleShow'] && $attr['titlePosition'] == 1) { include ULTP_PATH.'blocks/template/title.php'; } // Meta if( $attr['metaPosition'] =='top' ) { include ULTP_PATH.'blocks/template/meta.php'; } // Title if ($title && $attr['titleShow'] && $attr['titlePosition'] == 0) { include ULTP_PATH.'blocks/template/title.php'; } // Excerpt if (($idx == 0 || $attr['showSmallExcerpt']) && $attr['excerptShow']) { $post_loop .= '
'.ultimate_post()->get_excerpt($post_id, $attr['showSeoMeta'], $attr['showFullExcerpt'], $attr['excerptLimit']).'
'; } // Read More if ($attr['readMore'] && ($idx == 0 || $attr['showSmallBtn'])) { $post_loop .= ''; } // Bottom if( $attr['metaPosition'] =='bottom' ) { include ULTP_PATH.'blocks/template/meta.php'; } $post_loop .= '
'; $post_loop .= '
'; $post_loop .= ''; if($idx == 0) { $bigloop = $post_loop; $post_loop = ''; } $idx ++; endwhile; $bigloop = '
'.$bigloop.'
'; $post_loop = $bigloop.'
'.$post_loop.'
'; $wraper_after .= '
';//ultp-block-items-wrap $wraper_after .= '
'; $wraper_after .= '
'; wp_reset_query(); } return $noAjax ? $post_loop : $wraper_before.$post_loop.$wraper_after; } }