Horje

Yes, get_posts is the safest way to use multiple loops. It doest mess up with the original query.

Another way would be to create new WP_Query objects:



$my_query = new WP_Query($args);
while ($my_query->
have_posts()) : $my_query->
the_post();

Note: Why you shouldt use query_posts()


More Solution
Reffered: https://wordpress.org/