Bootstrap – combine “facetwp-template” with “.row”

mgibbs189

{{gist file=”functions.php” lang=”php”}}
<?php

add_filter( ‘facetwp_shortcode_html’, function( $output, $atts ) {
if ( isset( $atts[‘template’] ) ) {
$output = str_replace( ‘facetwp-template’, ‘facetwp-template row’, $output );
}
return $output;
}, 10, 2 );
{{/gist}}