Number archive post

Hi,
I want to display in the archive and custom post type, some different number of post.
For the custom post type, in my file archives-cpt.php, I did that and works, but for the post my loop doesnt work ?
Can I created a filter for display a number of archives ?

<?php
$loop = new WP_Query( array( 'post_type' => 'recipes', 'posts_per_archive_page' => $redux['recipes_per_page'] )

while ( $loop->have_posts() ) : $loop->the_post();?>
  <h2><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h2>
  <?php the_excerpt(); ?>
  <?php wp_link_pages(array('before' => '<nav class="pagination">', 'after' => '</nav>')); 
endwhile;
?>

Thanks

I found it :smile: in this forum

/**
 * Custom posts per page for Band archive
*/
function botb_band_ppp($query) {
  $query->query_vars['posts_per_page'] = 1;
  return $query;
}

if (!is_admin()) {
  add_action('pre_get_posts', 'botb_band_ppp');
}

Thanks for following up with the solution. I edited your posts to have proper formatting/syntax highlighting.