[vc_row full_width="stretch_row_content_no_spaces" wpex_bg_color="palette-88"][vc_column][vcex_grid_container][vcex_image image_id="976" fill_column="true" el_class="wpex-row-span-2" aspect_ratio="3/4"][vcex_image image_id="973"][vcex_image image_id="981"][vcex_image image_id="982"][vcex_image image_id="978"][/vcex_grid_container][/vc_column][/vc_row]
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;
} );

