// Showing multiple post types in Posts Widget add_action( 'elementor_pro/posts/query/my_custom_filter', function( $query ) { // Here we set the query to fetch posts with // post type of 'custom-post-type1' and 'custom-post-type2' $query->set( 'post_type', [ 'custom-post-gratis-testen', 'custom-post-cashback' ] ); } );