Adding pagination to my theme [closed]
$supernews_cat_post_args = array( ‘posts_per_page’ => $supernews_number, ‘no_found_rows’ => true, ‘post_status’ => ‘publish’, ‘ignore_sticky_posts’ => true ); This is the code where you should add the pagination. Changing it to: $paged = ( get_query_var( ‘paged’ ) ) ? get_query_var( ‘paged’ ) : 1; $supernews_cat_post_args = array( ‘posts_per_page’ => $supernews_number, ‘no_found_rows’ => true, ‘post_status’ => ‘publish’, ‘ignore_sticky_posts’ … Read more