<?php
$loop = new WP_Query( array( 'post_type' => 'people', 'paged' => get_query_var( 'paged' ), 'posts_per_page' => 9 ) );
if ( have_posts() ): while ( $loop->have_posts() ) : $loop->the_post();
?>
This is my current code, which is setting posts per page to 9. I want to chnage to “N” (all) posts when I click on “View All”.