I think this should do the trick
$args = array(
'post_type' => array( 'post', 'products'),
'posts_per_page' => 5
)
$loop = new WP_query($args);
I think this should do the trick
$args = array(
'post_type' => array( 'post', 'products'),
'posts_per_page' => 5
)
$loop = new WP_query($args);