Thread Starter
jneug
(@jneug)
Thanks. I fixed it by modifying the query loop args like so:
add_filter( 'generateblocks_query_loop_args', function( $query_args, $attributes ) {
if ( isset($query_args['ignore_sticky_posts']) && $query_args['ignore_sticky_posts'] == 1 && count($query_args['post__in']) == 0 ) {
$query_args['post__in'] = array(0);
}
return $query_args;
}, 10, 2 );
Thread Starter
jneug
(@jneug)
Thanks for the amazingly fast response. Just added my review.