$args = array('post_type' => 'portfolio_posts', 'posts_per_page' => 4, 'paged' => $paged );
$loop = new WP_Query( $args );
while ( $loop->have_posts() ) : $loop->the_post();
?>

dener misin