WordPress static home page pagination not working

You are using the pagination on the global $wp_query by default, and not on your custom query ($loop). That’s probably why it doesn’t work properly. <ul class=”xl-products grid- masonry”> <?php global $wp_query; if(is_front_page()) { $paged = (get_query_var(‘page’)) ? get_query_var(‘page’) : 1; }else { $paged = (get_query_var(‘paged’)) ? get_query_var(‘paged’) : 1; } $args = array( ‘post_type’ … Read more