Add custom class to listing wrapper on archive pages and shortcode
function my_add_custom_class_to_listings_wrapper( $classes, $context ) { if( $context == 'archive' ) { $classes .=' row '; // add a row class to listings parent wrapper } return $classes; } add_filter( 'epl_template_class', 'my_add_custom_class_to_listings_wrapper', 10, 2);