Submit
Path:
~
/
home
/
getwphos
/
public_html
/
sdp
/
wp-content
/
themes
/
labtechco
/
vc_templates
/
File Content:
vc_row_inner.php
<?php if ( ! defined( 'ABSPATH' ) ) { die( '-1' ); } /** * Shortcode attributes * @var $atts * @var $el_class * @var $css * @var $el_id * @var $equal_height * @var $content_placement * @var $content - shortcode content * Shortcode class * @var $this WPBakeryShortCode_VC_Row_Inner */ $el_class = $equal_height = $content_placement = $css = $el_id = ''; $disable_element = ''; $output = $after_output = ''; /**** ThemeStek custom changes START ****/ $ts_textcolor = $ts_bgcolor = $css_animation = ''; /**** ThemeStek custom changes END ****/ $atts = vc_map_get_attributes( $this->getShortcode(), $atts ); extract( $atts ); $el_class = $this->getExtraClass( $el_class ) . $this->getCSSAnimation( $css_animation ); $css_classes = array( 'ts-row-inner', 'vc_row', 'wpb_row', //deprecated 'vc_inner', 'vc_row-fluid', $el_class, vc_shortcode_custom_css_class( $css ), ts_responsive_padding_margin_class( $ts_responsive_css ), // Added by ThemeStek ); if ( 'yes' === $disable_element ) { if ( vc_is_page_editable() ) { $css_classes[] = 'vc_hidden-lg vc_hidden-xs vc_hidden-sm vc_hidden-md'; } else { return ''; } } if ( vc_shortcode_custom_css_has_property( $css, array( 'border', 'background', ) ) ) { $css_classes[] = 'vc_row-has-fill'; } if ( ! empty( $atts['gap'] ) ) { $css_classes[] = 'vc_column-gap-' . $atts['gap']; } if ( ! empty( $equal_height ) ) { $flex_row = true; $css_classes[] = 'vc_row-o-equal-height'; } if ( ! empty( $atts['rtl_reverse'] ) ) { $css_classes[] = 'vc_rtl-columns-reverse'; } if ( ! empty( $content_placement ) ) { $flex_row = true; $css_classes[] = 'vc_row-o-content-' . $content_placement; } if ( ! empty( $flex_row ) ) { $css_classes[] = 'vc_row-flex'; } /**** ThemeStek custom changes START ****/ if( !empty($ts_responsive_css) ){ $ts_responsive_css_array = explode('|',$ts_responsive_css); if( !empty($ts_responsive_css_array[1]) && $ts_responsive_css_array[1]=='colbreak_yes' ){ // 1200 //$css_classes[] = 'break-' . esc_attr($break_in_responsive) . '-colum'; $css_classes[] = 'ts-break-col-1200'; } if( !empty($ts_responsive_css_array[10]) && $ts_responsive_css_array[10]=='colbreak_yes' ){ // 991 $css_classes[] = 'ts-break-col-991'; } if( !empty($ts_responsive_css_array[19]) && $ts_responsive_css_array[19]=='colbreak_yes' ){ // 767 $css_classes[] = 'ts-break-col-767'; } if( !empty($ts_responsive_css_array[29]) && $ts_responsive_css_array[29]=='colbreak_yes' ){ // custom $css_classes[] = 'ts-break-col-custom'; } } /**** ThemeStek custom changes END ******/ /**** ThemeStek custom changes START ****/ if( !empty($ts_textcolor) ){ $css_classes[] = 'ts-textcolor-'.$ts_textcolor; } if( !empty($ts_bgcolor) ){ $css_classes[] = 'ts-bgcolor-'.$ts_bgcolor; } if( !empty($break_in_responsive) ){ $css_classes[] = 'break-' . esc_attr($break_in_responsive) . '-colum'; } if( !empty($ts_shadow) ){ // Shadow $css_classes[] = 'ts-shadow-row'; } if( !empty($zindex) ){ if( $zindex=='zero' ){ $zindex='0'; } $css_classes[] = 'ts-zindex-'.$zindex; } /**** ThemeStek custom changes END ******/ $wrapper_attributes = array(); // build attributes for wrapper if ( ! empty( $el_id ) ) { $wrapper_attributes[] = 'id="' . esc_attr( $el_id ) . '"'; } $css_class = preg_replace( '/\s+/', ' ', apply_filters( VC_SHORTCODE_CUSTOM_CSS_FILTER_TAG, implode( ' ', array_filter( array_unique( $css_classes ) ) ), $this->settings['base'], $atts ) ); $wrapper_attributes[] = 'class="' . esc_attr( trim( $css_class ) ) . '"'; /***** Modified by ThemeStek - START *****/ // Responsive padding margin option values if( !empty($ts_responsive_css) ){ global $themestek_inline_css; if( empty($themestek_inline_css) ){ $themestek_inline_css = ''; } $themestek_inline_css .= ts_responsive_padding_margin( $ts_responsive_css , '.ts-row-inner' ); } ?> <div <?php echo implode( ' ', $wrapper_attributes ); ?>> <?php echo wpb_js_remove_wpautop( $content ); ?> </div> <?php echo esc_attr($after_output); ?> <?php /***** Modified by ThemeStek - END *****/
Submit
FILE
FOLDER
Name
Size
Permission
Action
vc_column.php
7278 bytes
0644
vc_column_inner.php
4357 bytes
0644
vc_row.php
16155 bytes
0644
vc_row_inner.php
4231 bytes
0644
N4ST4R_ID | Naxtarrr