Get pagination working for custom loops within page templates
By seeing your code, you are creating the $args array but not passing it to the WP_Query. Try using the below way. $args = array( ‘posts_per_page’ => 7, ‘offset’ => ‘5’, ‘paged’ => $paged ) ; $my_query =new WP_Query($args); ……