Will only show the first 10 wordpress posts instead of all my posts
Try to change your following array $args = array( ‘post_type’ => ‘portfolio’ ); Use your array like this $args = array( ‘post_type’ => ‘portfolio’, ‘posts_per_page’ => -1 //It will display all of your posts );