I'd like to show more posts on my custom archive page, but can't seem to figure out the right way to do it. Currently it displays 10, which is the number set in WP Settings and the number I'd like on my homepage. But on archives I'd like more.
Right now the call for posts is super simple:
<?php if ( have_posts() ) : ?> <?php // Start the loop. while ( have_posts() ) : the_post(); ?>
This works nicely and works with my pagination. Is there a way to modify that to 100 posts? Is this where
pre_get_posts would work? Thank you.