Tag Info

Hot answers tagged

2

The homepage and all archive pages (date, category, tag, taxonomy and author pages ) uses the same default pagination functions for pagination. What this means is, the_posts_pagination works on all archive pages and the home page. The only differences on these pages is the content which is determined by the main query. As far as pagination goes, it is ...


1

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); ......



Only top voted, non community-wiki answers of a minimum length are eligible