Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Bootstrap - combine "facetwp-template" with ".row"
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 );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.