Hi there,
you can using the generateblocks_query_loop_args filter hook to merge other paremeters. Add this snippet:
add_filter( 'generateblocks_query_loop_args', function( $query_args, $attributes ) {
// Check your logic to apply the filtering only to specific loop
if (
! empty( $attributes['className'] ) &&
strpos( $attributes['className'], 'multi-post-type' ) !== false
) {
// Merge the current $query_args which contains arguments defined in the editor with your ordering arguments
return array_merge( $query_args, array(
'post_type' => array('post', 'your_other_post-type'),
) );
}
return $query_args;
}, 10, 2 );
Update the post_type array.
Then edit the Query Loop block, select the Grid block that is inside it and add the CSS Class of: multi-post-type