Hi Panos,
Thank you for your help, it’s a great idea, I will try it.
In the mean time I modified the code manually, adding a condition after
“while ( have_posts() ) :”
“if( get_post_type() === ‘post’ ) {”
But it seems that your solution is more flexible, thank you!