/*CAROUSEL ARROWS*/ .wpex-carousel__arrow-icon svg, .wpex-carousel__arrow-icon.wpex-icon, .wpex-carousel__arrow svg /*, .wpex-slider .sp-arrow-inner*/ { display: none; } .wpex-carousel__arrow:where(:not(.theme-button))…
Render Replace Vars in the ID Field in WPBakery in the Total Theme like „{{category}}“
//ENABLE ID FIELD RENDER SHORTCODE
add_filter( 'shortcode_atts_vc_row', function( $atts ) {
if ( class_exists( 'TotalTheme\Replace_Vars' ) ) {
foreach ( $atts as $k => $v ) {
if ( in_array( $k, [ 'local_scroll_id', 'el_id' ] ) ) {
$atts[ $k ] = (new TotalTheme\Replace_Vars())->replace( $v );
}
}
}
return $atts;
} );