Blog archive pages only include Posts. I am looking to add my Pages in there as well. All of my article are done as pages.
In my previous theme, I used this code:
$paged = ( get_query_var( 'paged' ) ) ? get_query_var( 'paged' ) : 1;
$allarticles = new WP_Query( array( 'post_type' => array('post','page'),
'posts_per_page'=> 10,
'paged' => $paged));
global $wp_query;
$wp_query = $allarticles;
while ($wp_query->have_posts()) : $wp_query->the_post();
get_template_part('content', 'loop');
endwhile;
How would I achieve this in GeneratePress? Thanks!