If you’re trying to integrate FacetWP with the Genesis Framework using the CSS class approach, it’s not always obvious what to change.

To add FacetWP’s required CSS class, simply add this code to your theme:

How to use custom PHP code?

PHP code can be added to your (child) theme's functions.php file. Alternatively, you can use the Custom Hooks add-on, or a code snippets plugin. More info

function custom_facetwp_class( $atts ) { $atts['class'] .= ' facetwp-template'; return $atts; } add_filter( 'genesis_attr_content', 'custom_facetwp_class' );