File: /var/www/html/onlineshop/wp-content/themes/nautica/vc_templates/vc_row_inner.php
<?php
/**
* Shortcode attributes
* @var $atts
* @var $el_class
* @var $css
* @var $el_id
* @var $content - shortcode content
* Shortcode class
* @var $this WPBakeryShortCode_VC_Row_Inner
*/
$output = $after_output = '';
$atts = vc_map_get_attributes( $this->getShortcode(), $atts );
extract( $atts );
$el_class = $this->getExtraClass( $el_class );
$css_classes = array(
'vc_row',
'wpb_row', //deprecated
'vc_inner',
'vc_row-fluid',
$el_class,
vc_shortcode_custom_css_class( $css ),
);
if( isset($bgstyle) && $bgstyle ){
$css_classes[] = $bgstyle;
}
/** Custom Animate **/
if( isset($animate_effect) && $animate_effect ){
$css_classes[] = "animation-element ".$animate_effect;
}
$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( $css_classes ) ), $this->settings['base'], $atts ) );
$wrapper_attributes[] = 'class="' . esc_attr( trim( $css_class ) ) . '"';
$output .= '<div ' . implode( ' ', $wrapper_attributes ) . '>';
$output .= wpb_js_remove_wpautop( $content );
$output .= '</div>';
$output .= $after_output;
$output .= $this->endBlockComment( $this->getShortcode() );
echo trim($output);