<?php
// For more info and options to ignore or use sticky posts:
// https://facetwp.com/how-to-use-sticky-posts-with-facetwp/
add_filter( 'facetwp_query_args', function( $query_args, $class ) {
if ( 'portfolio' == $class->ajax_params['template'] ) { // Change 'portfolio' to the name of your Listing Builder listing
$query_args['ignore_sticky_posts'] = true;
}
return $query_args;
}, 10, 2);